Click here to Skip to main content
15,911,646 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: CWnd getting erased by other windows. Pin
Cedric Moonen4-Mar-09 20:14
Cedric Moonen4-Mar-09 20:14 
QuestionRe: CWnd getting erased by other windows. Pin
Eytukan4-Mar-09 20:16
Eytukan4-Mar-09 20:16 
AnswerRe: CWnd getting erased by other windows. Pin
Cedric Moonen4-Mar-09 20:20
Cedric Moonen4-Mar-09 20:20 
GeneralRe: CWnd getting erased by other windows. Pin
whatever174-Mar-09 21:44
whatever174-Mar-09 21:44 
GeneralRe: CWnd getting erased by other windows. Pin
Iain Clarke, Warrior Programmer4-Mar-09 22:21
Iain Clarke, Warrior Programmer4-Mar-09 22:21 
GeneralRe: CWnd getting erased by other windows. Pin
whatever174-Mar-09 22:58
whatever174-Mar-09 22:58 
GeneralRe: CWnd getting erased by other windows. Pin
Iain Clarke, Warrior Programmer4-Mar-09 23:20
Iain Clarke, Warrior Programmer4-Mar-09 23:20 
GeneralRe: CWnd getting erased by other windows. Pin
whatever174-Mar-09 23:45
whatever174-Mar-09 23:45 
The code is not mine means I do not own the code. Someone else has written the code and I am not supposed to change much of it.My child windows are able to paint themselves. But their OnPaint() is not called in the particular cases I have mentioned. Calling it from the OnPaint of parent was the optimal solution but I can not handle the OnPaint of the dialog as it is giving me some other problems. Is there any other solution?

As I have mentioned earlier, the CWnd does not even receive ERASEBKGND.
GeneralRe: CWnd getting erased by other windows. Pin
SandipG 5-Mar-09 0:33
SandipG 5-Mar-09 0:33 
GeneralRe: CWnd getting erased by other windows. Pin
whatever175-Mar-09 1:15
whatever175-Mar-09 1:15 
GeneralRe: CWnd getting erased by other windows. Pin
SandipG 5-Mar-09 1:24
SandipG 5-Mar-09 1:24 
AnswerRe: CWnd getting erased by other windows. Pin
whatever176-Mar-09 2:49
whatever176-Mar-09 2:49 
QuestionExit an Application Pin
punav4-Mar-09 19:34
punav4-Mar-09 19:34 
QuestionRe: Exit an Application Pin
Eytukan4-Mar-09 20:36
Eytukan4-Mar-09 20:36 
AnswerRe: Exit an Application Pin
Hamid_RT4-Mar-09 20:46
Hamid_RT4-Mar-09 20:46 
GeneralRe: Exit an Application Pin
punav4-Mar-09 21:11
punav4-Mar-09 21:11 
GeneralRe: Exit an Application Pin
Akt_4_U4-Mar-09 22:46
Akt_4_U4-Mar-09 22:46 
GeneralRe: Exit an Application Pin
punav4-Mar-09 23:55
punav4-Mar-09 23:55 
QuestionDeprecation Error Pin
Varun Bhatt4-Mar-09 19:00
Varun Bhatt4-Mar-09 19:00 
AnswerRe: Deprecation Error Pin
Cedric Moonen4-Mar-09 20:28
Cedric Moonen4-Mar-09 20:28 
AnswerRe: Deprecation Error Pin
Eytukan4-Mar-09 20:40
Eytukan4-Mar-09 20:40 
GeneralRe: Deprecation Error Pin
CPallini4-Mar-09 22:15
mveCPallini4-Mar-09 22:15 
GeneralRe: Deprecation Error Pin
Eytukan5-Mar-09 0:11
Eytukan5-Mar-09 0:11 
QuestionHow to get system and then convert the result into char*, Thank You Pin
kingmanwahaha4-Mar-09 18:52
kingmanwahaha4-Mar-09 18:52 
AnswerRe: How to get system and then convert the result into char*, Thank You * Pin
Eytukan4-Mar-09 19:12
Eytukan4-Mar-09 19:12 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.