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

C / C++ / MFC

 
GeneralRe: One last IOCP question :) Pin
Mark Salsbery1-Feb-07 11:58
Mark Salsbery1-Feb-07 11:58 
GeneralRe: One last IOCP question :) Pin
Polity4h1-Feb-07 12:05
Polity4h1-Feb-07 12:05 
GeneralRe: One last IOCP question :) Pin
Mark Salsbery1-Feb-07 12:12
Mark Salsbery1-Feb-07 12:12 
Questiondisappearing check boxes Pin
maladuk30-Jan-07 11:13
maladuk30-Jan-07 11:13 
AnswerRe: disappearing check boxes Pin
James R. Twine30-Jan-07 11:23
James R. Twine30-Jan-07 11:23 
GeneralRe: disappearing check boxes Pin
maladuk30-Jan-07 23:31
maladuk30-Jan-07 23:31 
AnswerRe: disappearing check boxes Pin
PJ Arends30-Jan-07 15:51
professionalPJ Arends30-Jan-07 15:51 
GeneralRe: disappearing check boxes Pin
maladuk30-Jan-07 22:40
maladuk30-Jan-07 22:40 
Thanks for trying to help! They are drawn in the InitDialog() of the parent dialog and then in the WM_LBUTTONDOWN message handler function of the CheckBox-class itself. The WM_RBUTTONDOWN message handler function is just used to toggles between red and blue color (see code in my answer further down).

Can you say more specifically how you mean I should draw the Checkboxes in the WM_PAINT message handler function. If I put such a function in the CheckBox-class itself, the boxes are not shown at all. Should I draw them from OnPaint() in dialog class ? (as you understand I am not an expert in this)

Thanks!


maladuk
QuestionRe: disappearing check boxes Pin
prasad_som30-Jan-07 17:19
prasad_som30-Jan-07 17:19 
AnswerRe: disappearing check boxes -code Pin
maladuk30-Jan-07 22:06
maladuk30-Jan-07 22:06 
QuestionRe: disappearing check boxes -code Pin
prasad_som30-Jan-07 22:31
prasad_som30-Jan-07 22:31 
AnswerRe: disappearing check boxes -code Pin
maladuk30-Jan-07 22:42
maladuk30-Jan-07 22:42 
AnswerRe: disappearing check boxes -code Pin
prasad_som30-Jan-07 23:07
prasad_som30-Jan-07 23:07 
GeneralRe: disappearing check boxes -code Pin
maladuk30-Jan-07 23:13
maladuk30-Jan-07 23:13 
AnswerRe: disappearing check boxes -code Pin
prasad_som30-Jan-07 23:28
prasad_som30-Jan-07 23:28 
GeneralRe: disappearing check boxes -code Pin
maladuk30-Jan-07 23:39
maladuk30-Jan-07 23:39 
GeneralProblem solved ! Pin
maladuk31-Jan-07 3:57
maladuk31-Jan-07 3:57 
AnswerRe: disappearing check boxes Pin
Hamid_RT30-Jan-07 18:05
Hamid_RT30-Jan-07 18:05 
GeneralRe: disappearing check boxes Pin
maladuk30-Jan-07 23:15
maladuk30-Jan-07 23:15 
QuestionIs it Possible to monitor Actions Taken by a Third Party Software? Pin
Khoramdin30-Jan-07 11:03
Khoramdin30-Jan-07 11:03 
AnswerRe: Is it Possible to monitor Actions Taken by a Third Party Software? Pin
James R. Twine30-Jan-07 11:16
James R. Twine30-Jan-07 11:16 
AnswerRe: Is it Possible to monitor Actions Taken by a Third Party Software? Pin
benjymous30-Jan-07 21:49
benjymous30-Jan-07 21:49 
Questionmulti-thread question, perhaps Pin
goodoljosh198030-Jan-07 7:56
goodoljosh198030-Jan-07 7:56 
AnswerRe: multi-thread question, perhaps Pin
James R. Twine30-Jan-07 8:13
James R. Twine30-Jan-07 8:13 
GeneralRe: multi-thread question, perhaps Pin
goodoljosh198030-Jan-07 8:16
goodoljosh198030-Jan-07 8:16 

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.