Click here to Skip to main content
15,892,697 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralBug: NM_RDBLCLK msg in TreeView Control Pin
Partha Kr. Chakraborti16-Jun-03 20:49
Partha Kr. Chakraborti16-Jun-03 20:49 
GeneralRe: Bug: NM_RDBLCLK msg in TreeView Control Pin
PJ Arends16-Jun-03 21:43
professionalPJ Arends16-Jun-03 21:43 
GeneralRe: Bug: NM_RDBLCLK msg in TreeView Control Pin
Partha Kr. Chakraborti16-Jun-03 23:18
Partha Kr. Chakraborti16-Jun-03 23:18 
GeneralPainting window question Pin
Cedric Moonen16-Jun-03 20:18
Cedric Moonen16-Jun-03 20:18 
GeneralRe: Painting window question Pin
Cedric Moonen16-Jun-03 20:21
Cedric Moonen16-Jun-03 20:21 
GeneralRe: Painting window question Pin
PJ Arends16-Jun-03 20:34
professionalPJ Arends16-Jun-03 20:34 
GeneralRe: Painting window question Pin
Cedric Moonen16-Jun-03 20:48
Cedric Moonen16-Jun-03 20:48 
GeneralRe: Painting window question Pin
PJ Arends16-Jun-03 21:20
professionalPJ Arends16-Jun-03 21:20 
cedric moonen wrote:
Is there a call to the OnPaint function ???

Add a line MessageBeep(1); at the start of OnPaint() and you will get a beep every time OnPaint() is called.

I took a closer look at your problem, and I believe it stems from your using CPaintDC. You should be using CClientDC instead. CPaintDC should only be used in OnPaint().







Sonork 100.11743 Chicken Little

"You're obviously a superstar." - Christian Graus about me - 12 Feb '03

Within you lies the power for good - Use it!
GeneralRe: Painting window question Pin
Cedric Moonen16-Jun-03 21:28
Cedric Moonen16-Jun-03 21:28 
GeneralRe: Painting window question Pin
PJ Arends16-Jun-03 21:46
professionalPJ Arends16-Jun-03 21:46 
Generalquestion about dialog Pin
gucy16-Jun-03 19:41
gucy16-Jun-03 19:41 
GeneralRe: question about dialog Pin
PJ Arends16-Jun-03 20:44
professionalPJ Arends16-Jun-03 20:44 
GeneralRe: question about dialog Pin
gucy16-Jun-03 21:06
gucy16-Jun-03 21:06 
GeneralRe: question about dialog Pin
Old Gun16-Jun-03 22:15
Old Gun16-Jun-03 22:15 
QuestionVK_F10 with PreTranslateMessage not work? Pin
chen16-Jun-03 19:28
chen16-Jun-03 19:28 
AnswerRe: VK_F10 with PreTranslateMessage not work? Pin
Eugene Pustovoyt16-Jun-03 22:14
Eugene Pustovoyt16-Jun-03 22:14 
AnswerRe: VK_F10 with PreTranslateMessage not work? Pin
Uma Mahes16-Jun-03 22:30
Uma Mahes16-Jun-03 22:30 
GeneralRe: VK_F10 with PreTranslateMessage not work? Pin
chen16-Jun-03 23:40
chen16-Jun-03 23:40 
Questionhow can i make a edit box just like the outlook's edit box? Pin
allenhu16-Jun-03 18:58
allenhu16-Jun-03 18:58 
AnswerRe: how can i make a edit box just like the outlook's edit box? Pin
David Crow17-Jun-03 3:11
David Crow17-Jun-03 3:11 
GeneralGetting the Window Class name Pin
albean16-Jun-03 18:55
albean16-Jun-03 18:55 
GeneralRe: Getting the Window Class name Pin
PJ Arends16-Jun-03 19:06
professionalPJ Arends16-Jun-03 19:06 
GeneralRe: Getting the Window Class name Pin
Uma Mahes16-Jun-03 19:15
Uma Mahes16-Jun-03 19:15 
Questionlandscape print in dialog? Pin
JockeP16-Jun-03 18:23
JockeP16-Jun-03 18:23 
AnswerRe: landscape print in dialog? Pin
Eugene Pustovoyt16-Jun-03 22:07
Eugene Pustovoyt16-Jun-03 22:07 

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.