![]() |
KeyBindings Events not firing. |
Post Reply ![]() |
Author | |
Brian42 ![]() Newbie ![]() ![]() Joined: 03 December 2008 Location: United States Status: Offline Points: 5 |
![]() ![]() ![]() ![]() ![]() Posted: 28 February 2009 at 2:41pm |
I have a C# application, and I'm trying to get the KeyBinding events to fire. Below is the code I'm using... However, I never see any of these events getting fired. Is there any "trick" to this... Or is there a bug.
Thanks in advance. Brian My code is
the event handlers are.. void KeyBindings_BeforeTranslate(int Command, ref object Cancel) { throw new NotImplementedException();} void KeyBindings_BeforeRemove(int fVirt, int Key, int Command, ref object Cancel){ throw new NotImplementedException();} void KeyBindings_BeforeAdd(int fVirt, int Key, int Command, ref object Cancel){ throw new NotImplementedException();} |
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
Hi,
First you need add form variable KeyBindings:
KeyBindings = this.CommandBars.KeyBindings;
These events fire when user change keybindings in customization dialog.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
Brian42 ![]() Newbie ![]() ![]() Joined: 03 December 2008 Location: United States Status: Offline Points: 5 |
![]() ![]() ![]() ![]() ![]() |
Thank you. That did the trick.
|
|
![]() |
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 |