Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Command Bars
  New Posts New Posts RSS Feed - CommandBars invoking Command twice
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

CommandBars invoking Command twice

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


Joined: 23 October 2003
Status: Offline
Points: 5
Post Options Post Options   Thanks (0) Thanks(0)   Quote mark Quote  Post ReplyReply Direct Link To This Post Topic: CommandBars invoking Command twice
    Posted: 17 January 2007 at 10:29am
Hello
 
Since upgrading to 10.4 I have had an issue with CommandBars invoking every Command twice.
 
This is demonstated in the WTLSample sample app. If I click the "New" button on the toolbar, I get two new MDI pages rather than one.
 
Any ideas?
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: 17 January 2007 at 4:23pm
Hi,
 
yes :( for compatible with standard menu now CommandBars send Exectue event + WM_COMMAND to site.  So just comment ProcessWindowMessage(m_hWnd, WM_COMMAND, nId, 0, lResult); in OnCommandBars_Execute method.
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.035 seconds.