Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Command Bars
  New Posts New Posts RSS Feed - KickIdle Modeless
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

KickIdle Modeless

 Post Reply Post Reply
Author
Message
developer View Drop Down
Newbie
Newbie


Joined: 05 August 2004
Status: Offline
Points: 26
Post Options Post Options   Thanks (0) Thanks(0)   Quote developer Quote  Post ReplyReply Direct Link To This Post Topic: KickIdle Modeless
    Posted: 05 August 2004 at 4:28pm
Some of my dialogs are modeless and the toolbars no longer work on the dialogs because I can not execute the code:


void CSomeDlg::OnKickIdle()
{
SendMessageToDescendants(WM_IDLEUPDATECMDUI);
return;
}


Before installing the toolkit this code was not needed for the toolbars to work. What is the workaround? Thanks.

Edited by developer
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 10 August 2004 at 3:49am
Did you add ON_MESSAGE(WM_KICKIDLE, OnKickIdle) to message map?
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
developer View Drop Down
Newbie
Newbie


Joined: 05 August 2004
Status: Offline
Points: 26
Post Options Post Options   Thanks (0) Thanks(0)   Quote developer Quote  Post ReplyReply Direct Link To This Post Posted: 10 August 2004 at 9:25am
Yes, I did some research on the internet and supposively KickIdle is not "Sent" while in "Modeless Mode".

I placed 'SendMessageToDescendants(WM_IDLEUPDATECMDUI);' in the PreTranslateMessage but that still doesn't seem to fix all the functionality.
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.156 seconds.