Re: OnCtlColor - wierd behaviour

From: Jeff Partch [MVP] (jeffp_at_mvps.org)
Date: 04/17/04


Date: Fri, 16 Apr 2004 21:10:32 -0500


"Yasoo" <anonymous@discussions.microsoft.com> wrote in message
news:8E5BC033-D2E2-4804-AE89-365723146D14@microsoft.com...
> It does encompasses the entire lifetime of the dialog through dismissal.
>
> For fun, I added a timestamp and it does repaint it when it closes. I
guess that's because of the 3d click. This also makes me think that they
mapped the <esc> key to press that button since it happens when I press
<esc>.

My money's still on WM_KILLFOCUS causing the repaint. In any event, I
believe that the <esc> key is mapped to IDCANCEL.

-- 
Jeff Partch [VC++ MVP]

Loading