Click here to Skip to main content
15,914,111 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: 2 CDialog questions Pin
raner25-Feb-03 2:01
raner25-Feb-03 2:01 
GeneralRe: 2 CDialog questions Pin
Joan M25-Feb-03 3:04
professionalJoan M25-Feb-03 3:04 
GeneralNew problem Pin
raner25-Feb-03 2:46
raner25-Feb-03 2:46 
GeneralRe: New problem Pin
Joan M25-Feb-03 3:06
professionalJoan M25-Feb-03 3:06 
GeneralRe: New problem Pin
raner25-Feb-03 3:53
raner25-Feb-03 3:53 
GeneralRe: New problem Pin
Joan M25-Feb-03 4:33
professionalJoan M25-Feb-03 4:33 
GeneralRe: New problem Pin
raner25-Feb-03 5:28
raner25-Feb-03 5:28 
GeneralRe: New problem Pin
Joan M25-Feb-03 6:23
professionalJoan M25-Feb-03 6:23 
AArgh!

sorry!

I didn't see the ": CDialog" !!!! (how do I hate this sort of things...)

There isn't any problem in your dialog creation...

Place a breakpoint, a TRACE or something else at the beggining of the function (OnPaint) in order to know if it is being called or not.

Once you'll know if the f(x) is being called or not, if the function is being called, try to know if the DC that you are getting is the right one drawing something easy to it...

If the function is not called try to place its content in the OnErasebackground handler (I don't remember where, but I have read that the right place to process the drawing messages in the dialogs is that function).

hope this helps...
GeneralRe: New problem Pin
raner27-Feb-03 5:42
raner27-Feb-03 5:42 
GeneralRe: New problem Pin
Joan M27-Feb-03 7:02
professionalJoan M27-Feb-03 7:02 
GeneralRe: New problem Pin
raner27-Feb-03 17:06
raner27-Feb-03 17:06 
GeneralRe: New problem Pin
Joan M27-Feb-03 20:00
professionalJoan M27-Feb-03 20:00 
GeneralRe: 2 CDialog questions Pin
xxhimanshu25-Feb-03 0:37
xxhimanshu25-Feb-03 0:37 
GeneralCListView Pin
ROK_RShadow25-Feb-03 0:15
ROK_RShadow25-Feb-03 0:15 
GeneralRe: CListView Pin
João Paulo Figueira25-Feb-03 0:37
professionalJoão Paulo Figueira25-Feb-03 0:37 
GeneralCalculating duration of internet connections Pin
Captain Kirk24-Feb-03 23:47
Captain Kirk24-Feb-03 23:47 
GeneralOverlapped IO with WriteFile Pin
zecodela24-Feb-03 23:28
zecodela24-Feb-03 23:28 
GeneralCHtmlView Problems!!! Pin
arunbooboo24-Feb-03 23:15
arunbooboo24-Feb-03 23:15 
GeneralRe: CHtmlView Problems!!! Pin
Big Art25-Feb-03 6:16
Big Art25-Feb-03 6:16 
GeneralRe: CHtmlView Problems!!! Pin
arunbooboo25-Feb-03 17:16
arunbooboo25-Feb-03 17:16 
GeneralRe: CHtmlView Problems!!! Pin
Big Art26-Feb-03 13:42
Big Art26-Feb-03 13:42 
GeneralRe: CHtmlView Problems!!! Pin
arunbooboo26-Feb-03 16:04
arunbooboo26-Feb-03 16:04 
GeneralRe: CHtmlView Problems!!! Pin
Big Art1-Mar-03 5:23
Big Art1-Mar-03 5:23 
Generalhelp!!!!! about image show Pin
chrisluan24-Feb-03 22:27
chrisluan24-Feb-03 22:27 
GeneralRe: help!!!!! about image show Pin
Christian Graus24-Feb-03 23:05
protectorChristian Graus24-Feb-03 23:05 

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.