Print Page | Close Window

KickIdle Modeless

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Command Bars
Forum Description: Topics Related to Codejock Command Bars
URL: http://forum.codejock.com/forum_posts.asp?TID=1027
Printed Date: 31 October 2024 at 7:54pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: KickIdle Modeless
Posted By: developer
Subject: KickIdle Modeless
Date 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.



Replies:
Posted By: Oleg
Date Posted: 10 August 2004 at 3:49am
Did you add ON_MESSAGE(WM_KICKIDLE, OnKickIdle) to message map?

-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: developer
Date 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.



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net