Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Command Bars
  New Posts New Posts RSS Feed - Shortcut bug?
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Shortcut bug?

 Post Reply Post Reply
Author
Message
rdeboer View Drop Down
Groupie
Groupie


Joined: 29 April 2004
Location: Netherlands
Status: Offline
Points: 81
Post Options Post Options   Thanks (0) Thanks(0)   Quote rdeboer Quote  Post ReplyReply Direct Link To This Post Topic: Shortcut bug?
    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?

 



Edited by rdeboer
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: 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
Back to Top
rdeboer View Drop Down
Groupie
Groupie


Joined: 29 April 2004
Location: Netherlands
Status: Offline
Points: 81
Post Options Post Options   Thanks (0) Thanks(0)   Quote rdeboer Quote  Post ReplyReply Direct Link To This Post 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...

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: 23 June 2004 at 1:17pm
in ActiveX too. Don't process OnExecute event.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
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.188 seconds.