![]() |
CommandBars invoking Command twice |
Post Reply ![]() |
Author | |
mark ![]() Newbie ![]() Joined: 23 October 2003 Status: Offline Points: 5 |
![]() ![]() ![]() ![]() ![]() 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?
|
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
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 |
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |