Пример #1
0
void CFilterEdit::OnPaint()
{
	Default();

	DrawDimText();

	return;
}
Пример #2
0
void CFilterEdit::OnPaint()
{
	Default();

	DrawDimText();
	ValidateRect(NULL);

	return;
}
Пример #3
0
void CFilterEdit::OnPaint()
{
	LRESULT defres = Default();

	DrawDimText();
	if (defres)
	{
		// the Default() call did not process the WM_PAINT message!
		// Validate the update region ourselves to avoid
		// an endless loop repainting
		CRect rc;
		GetUpdateRect(&rc, FALSE);
		if (!rc.IsRectEmpty())
			ValidateRect(rc);
	}

	return;
}