Re: wm_paint not enough?
From: Bjarne Nielsen (bnielsen_NO_SPAM_NO_at_mail.dk)
Date: 03/08/04
- Next message: Frank Hickman: "Re: CRecordset Insert/Update Syntax errors."
- Previous message: Bjarne Nielsen: "Re: Show Dialod after creating SDI"
- In reply to: Mijit: "wm_paint not enough?"
- Next in thread: Joseph M. Newcomer: "Re: wm_paint not enough?"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 8 Mar 2004 23:22:08 +0100
"Mijit" <anonymous@discussions.microsoft.com> skrev i en meddelelse
news:AAB13716-3F59-474E-B16C-A3BF8FD9B382@microsoft.com...
> I am developing an MFC Dialog based app. On the dialog app, I am using
a disabled edit control to display some graphic output.
> I am trying to use a WM_PAINT handler for the dialog to redisplay the
graphic whenever required. With the Wm_Paint handler in place, one can drag
the dialog box off the desktop and back on, or drag anther window across the
dialog window, and the output is correctly restored.
> However, when the window is resorted after being minimized, it appears
the wm_paint handler is not called. Also if another window is dragged on
top of the dialog box and then minimized, no update occurs.
> Any ideas?
I sounds like the WM_PAINT message handler is for your dialog, but shouldn't
it be for the control instead?
-- Bjarne Nielsen
- Next message: Frank Hickman: "Re: CRecordset Insert/Update Syntax errors."
- Previous message: Bjarne Nielsen: "Re: Show Dialod after creating SDI"
- In reply to: Mijit: "wm_paint not enough?"
- Next in thread: Joseph M. Newcomer: "Re: wm_paint not enough?"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|