Article ID: 141661
Article Last Modified on 10/24/2003
/* Compile options needed:
*/
void CCirc3Ctrl::OnLButtonDown(UINT nFlags, CPoint point)
{
/* Comment the tutorial.
CDC* pdc;
// Flash the color of the control if within the
ellipse.
if (InCircle(point))
{
pdc = GetDC();
FlashColor(pdc);
ReleaseDC(pdc);
// Fire the ClickIn event
FireClickIn(point.x, point.y);
}
else
// Fire the ClickOut event
FireClickOut();
*/
// Here's the call.
FireError(CTL_E_OUTOFMEMORY, " ");
COleControl::OnLButtonDown(nFlags, point);
}
Additional query words: 2.00 2.10 2.20 3.00 3.10 3.20
Keywords: kbbug kbfix kbctrl KB141661