No shortcut/keybindings when ID is too large |
Post Reply |
Author | |
robbedaya
Newbie Joined: 31 January 2008 Status: Offline Points: 3 |
Post Options
Thanks(0)
Posted: 08 February 2008 at 10:10am |
Dear, In my firm, we use ranges of ID to identify ControlBarControls depending on which form they are used on.
For example:
100 - 9999 = Menu items on form 1
10000 - 99999 = Menu items on form 2
....
200 000 - 300 000 = menu items on form X
When the id becomes too big, keybindings (CTRL+X, ...) that are added to those ID's do not work and the shortcut text is not displayed in the menu. Is there a way to work aroud that?
The menu items self are displayed correctly. Only the keybindings do not work. |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Sorry its system restiction :( TranslateAccelerator system method allows only Ids from 1 to 32000.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
robbedaya
Newbie Joined: 31 January 2008 Status: Offline Points: 3 |
Post Options
Thanks(0)
|
But the ID parameter is declared as a long. 32000 is (aproximatly) the maximum value of an integer. 2 147 483 647 should be the maximum value of a long. It is possible to create menuitems with an ID larger than 32000, bit it's not possible tho add keybindings to that ID.
|
|
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 |