Print Page | Close Window

Shortcut bug?

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=877
Printed Date: 12 May 2024 at 4:06pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Shortcut bug?
Posted By: rdeboer
Subject: Shortcut bug?
Date Posted: 22 June 2004 at 7:06pm

Hi,

If I make a button INVISIBLE on a toolbar, then the shortcut of this button still seems to work.

Is this a bug?

 




Replies:
Posted By: Oleg
Date Posted: 23 June 2004 at 12:46am

it is not.

CommandBar doesn't process shortcuts itself. It is CFrameWnd work.

see

BOOL CFrameWnd::PreTranslateMessage(MSG* pMsg) in the MFC source.



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


Posted By: rdeboer
Date Posted: 23 June 2004 at 6:36am
Originally posted by oleg oleg wrote:

it is not.

CommandBar doesn't process shortcuts itself. It is CFrameWnd work.

see

BOOL CFrameWnd::PreTranslateMessage(MSG* pMsg) in the MFC source.

 

I'm using the ActiveX version...



Posted By: Oleg
Date Posted: 23 June 2004 at 1:17pm
in ActiveX too. Don't process OnExecute event.

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



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