Click here to Skip to main content
16,006,760 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Measurement of Time Difference less than second? Pin
Arman S.21-Oct-05 11:46
Arman S.21-Oct-05 11:46 
GeneralRe: Measurement of Time Difference less than second? Pin
itkid21-Oct-05 12:18
itkid21-Oct-05 12:18 
GeneralRe: Measurement of Time Difference less than second? Pin
Indivara21-Oct-05 15:00
professionalIndivara21-Oct-05 15:00 
GeneralRe: Measurement of Time Difference less than second? Pin
Arman S.22-Oct-05 0:53
Arman S.22-Oct-05 0:53 
QuestionPrinting multiple views Pin
BuckBrown21-Oct-05 10:23
BuckBrown21-Oct-05 10:23 
QuestionDiscrete Cosine Transform - Image Processing Pin
Lampros Giampouras21-Oct-05 9:25
Lampros Giampouras21-Oct-05 9:25 
Questionembedded propertysheet in a dialogbar: how to make ON_UPDATE_COMMAND_UI work Pin
kylur21-Oct-05 8:53
kylur21-Oct-05 8:53 
AnswerRe: embedded propertysheet in a dialogbar: how to make ON_UPDATE_COMMAND_UI work Pin
Rage_bla21-Oct-05 10:15
Rage_bla21-Oct-05 10:15 
>The problem seems to be that the idle message does not cascade on from CMyDialogbar into the CMyPropertySheet. Any ideas?

Try handling it yourself.

afx_msg LRESULT OnKickIdle(WPARAM,LPARAM);
...
ON_MESSAGE(WM_KICKIDLE,OnKickIdle)
...
LRESULT CMyDialog::OnKickIdle(WPARAM wp, LPARAM lCount)
{
UpdateDialogControls(this, TRUE); // the dialog

// try
pMyPropertySheet->UpdateDialogControls(this, TRUE);
// or
UpdateDialogControls(pMyPropertySheet, TRUE);
// or
pMyPropertySheet->UpdateDialogControls(pMyPropertySheet, TRUE);
// or
::SendMessage(pMyPropertySheet->GetSafeHandle(), WM_KICKIDLE, wp, lp);

return 0;
}

One might work (I am not sure if this is the right way to do this or if it still works - WM_KICKIDLE is/was internal MFC message). Try it...
There might be an extra include for the WM_KICKIDLE that is needed...

Good luck!

H.
QuestionTemplates & error C2440 Pin
Rage_bla21-Oct-05 8:12
Rage_bla21-Oct-05 8:12 
AnswerRe: Templates & error C2440 Pin
kylur21-Oct-05 9:11
kylur21-Oct-05 9:11 
GeneralRe: Templates & error C2440 Pin
Rage_bla21-Oct-05 9:57
Rage_bla21-Oct-05 9:57 
GeneralRe: Templates & error C2440 Pin
BadKarma21-Oct-05 12:24
BadKarma21-Oct-05 12:24 
QuestionRe: Templates & error C2440 Pin
Rage_bla21-Oct-05 13:02
Rage_bla21-Oct-05 13:02 
AnswerRe: Templates & error C2440 Pin
BadKarma21-Oct-05 22:30
BadKarma21-Oct-05 22:30 
GeneralRe: Templates & error C2440 Pin
Rage_bla22-Oct-05 4:01
Rage_bla22-Oct-05 4:01 
QuestionSafe Language Pin
Ken Mazaika21-Oct-05 7:47
Ken Mazaika21-Oct-05 7:47 
AnswerRe: Safe Language Pin
Rage_bla21-Oct-05 7:54
Rage_bla21-Oct-05 7:54 
GeneralRe: Safe Language Pin
Ken Mazaika21-Oct-05 8:01
Ken Mazaika21-Oct-05 8:01 
GeneralRe: Safe Language Pin
bugDanny21-Oct-05 8:13
bugDanny21-Oct-05 8:13 
AnswerRe: Safe Language Pin
David Crow21-Oct-05 8:53
David Crow21-Oct-05 8:53 
QuestionPlease help me... (screen shot) Pin
NSoft21-Oct-05 7:33
NSoft21-Oct-05 7:33 
AnswerRe: Please help me... (screen shot) Pin
Rage_bla21-Oct-05 7:49
Rage_bla21-Oct-05 7:49 
AnswerRe: Please help me... (screen shot) Pin
bugDanny21-Oct-05 8:18
bugDanny21-Oct-05 8:18 
GeneralRe: Please help me... (screen shot) Pin
David Crow21-Oct-05 8:55
David Crow21-Oct-05 8:55 
QuestionVisual C++ 7.1 Subclassing Pin
Tom Moore21-Oct-05 7:05
Tom Moore21-Oct-05 7: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.