WM_KICKIDLE on MainFrame with Modal Dialog |
Post Reply |
Author | |
jimmy
Senior Member Joined: 11 November 2003 Location: Austria Status: Offline Points: 515 |
Post Options
Thanks(0)
Posted: 04 August 2010 at 3:55am |
Hello,
How can i update the CommandBar on MainFrame, if there is a ModalDialog open ? With a Timer OnTimer: SendMessage(WM_KICKIDLE) ? Thanks Jimmy |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
MFC assumes if you have Modal dialog opened state of frame/view should not change.
Anyway you can try send WM_IDLEUPDATECMDUI from WM_KICKIDLE of your Modal dialog. ON_MESSAGE(WM_KICKIDLE, OnKickIdle) LRESULT CDialogSampleDlg::OnKickIdle(WPARAM, LPARAM) { .. } you don't need OnTimer - MFC send WM_KICKIDLE manually. |
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |