Click here to Skip to main content
15,895,011 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralHiding a CPropertyPage at runtime Pin
tabor251-Jun-05 1:45
tabor251-Jun-05 1:45 
GeneralRe: Hiding a CPropertyPage at runtime Pin
David Crow1-Jun-05 2:20
David Crow1-Jun-05 2:20 
GeneralRe: Hiding a CPropertyPage at runtime Pin
tabor251-Jun-05 8:08
tabor251-Jun-05 8:08 
GeneralRe: Hiding a CPropertyPage at runtime Pin
laiju3-Jun-05 11:22
laiju3-Jun-05 11:22 
GeneralRe: Hiding a CPropertyPage at runtime Pin
David Crow3-Jun-05 16:37
David Crow3-Jun-05 16:37 
GeneralRe: Hiding a CPropertyPage at runtime Pin
PJ Arends4-Jun-05 9:49
professionalPJ Arends4-Jun-05 9:49 
GeneralRe: Hiding a CPropertyPage at runtime Pin
laiju4-Jun-05 9:55
laiju4-Jun-05 9:55 
GeneralCWnd refresh Pin
jamesrgoodwin1-Jun-05 0:41
jamesrgoodwin1-Jun-05 0:41 
I have a CWnd object which I use for drawing a chart using OpenGL. The CWnd has vertical and horizontal scroll bars and is owned by a formview derived class.

When I open a dialog box above the CWnd object and then close it again, the CWnd object does not refresh (the chart is grey and the scroll bars are blank where the dialog was).

My drawing code function is called by OnPaint. So therefore it appears that when the dialog is closed WM_PAINT is not called!

I've tried called UpdateWindow in PostNcDestroy on the dialog, but this causes a crash.

Any thoughts?
Thanks, James

GeneralRe: CWnd refresh Pin
ThatsAlok1-Jun-05 0:53
ThatsAlok1-Jun-05 0:53 
GeneralRe: CWnd refresh Pin
jamesrgoodwin1-Jun-05 1:04
jamesrgoodwin1-Jun-05 1:04 
Generalpush button Pin
ask_you31-May-05 23:48
ask_you31-May-05 23:48 
GeneralRe: push button Pin
Nilesh K.31-May-05 23:56
Nilesh K.31-May-05 23:56 
GeneralRe: push button Pin
ask_you1-Jun-05 0:12
ask_you1-Jun-05 0:12 
GeneralRe: push button Pin
Nilesh K.1-Jun-05 0:20
Nilesh K.1-Jun-05 0:20 
GeneralRe: push button Pin
ask_you1-Jun-05 0:35
ask_you1-Jun-05 0:35 
GeneralRe: push button Pin
Nilesh K.1-Jun-05 16:20
Nilesh K.1-Jun-05 16:20 
QuestionHow CreateFile can fail??? Pin
Dimitris Vikeloudas31-May-05 23:16
Dimitris Vikeloudas31-May-05 23:16 
AnswerRe: How CreateFile can fail??? Pin
Cedric Moonen31-May-05 23:36
Cedric Moonen31-May-05 23:36 
GeneralRe: How CreateFile can fail??? Pin
Nilesh K.31-May-05 23:51
Nilesh K.31-May-05 23:51 
GeneralThanks but not what I am actually looking for... Pin
Dimitris Vikeloudas1-Jun-05 0:36
Dimitris Vikeloudas1-Jun-05 0:36 
GeneralRe: Thanks but not what I am actually looking for... Pin
geo_m1-Jun-05 1:36
geo_m1-Jun-05 1:36 
AnswerRe: How CreateFile can fail??? Pin
Ravi Bhavnani1-Jun-05 11:43
professionalRavi Bhavnani1-Jun-05 11:43 
AnswerRe: How CreateFile can fail??? Pin
Ravi Bhavnani1-Jun-05 11:45
professionalRavi Bhavnani1-Jun-05 11:45 
Questionntohl() in eVC pocketpc application? Pin
zuschauer198031-May-05 23:13
zuschauer198031-May-05 23:13 
GeneralPrinting Pin
sirtimid31-May-05 23:01
sirtimid31-May-05 23:01 

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.