Ejemplo n.º 1
0
void CFilterEdit::OnPaint()
{
	Default();

	DrawDimText();

	return;
}
Ejemplo n.º 2
0
void CFilterEdit::OnPaint()
{
	Default();

	DrawDimText();
	ValidateRect(NULL);

	return;
}
Ejemplo n.º 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;
}