Exemplo n.º 1
0
CUnreadWavesFlyout::CUnreadWavesFlyout(CUnreadWaveCollection * lpWaves)
{
	ASSERT(lpWaves != NULL);

	m_lpWaves = lpWaves;

	SetWidth(FL_WIDTH);
	SetHeight(CalculateRects());

	CalculateInboxBounds();

	m_vLastHitTest = CHitTest(HTT_NONE);
}
Exemplo n.º 2
0
BOOL CXTPColorDialog::OnInitDialog()
{
	BOOL bResult = CPropertySheet::OnInitDialog();

	CalculateRects();
	SetActivePage(0);

	if (m_wndHexEdit.GetSafeHwnd())
	{
		m_wndHexEdit.SetFont(GetFont());
	}


	return bResult;
}