![]() |
Problem with keyboard shortcuts customize |
Post Reply
|
| Author | |
Timur
Newbie
Joined: 21 September 2004 Status: Offline Points: 6 |
Post Options
Thanks(0)
Quote Reply
Topic: Problem with keyboard shortcuts customizePosted: 10 November 2004 at 4:43pm |
|
In the old XToolkit keyboard customize dialog was showing all menu entries in shortcuts customize dialog even the commands in the sub-menus of the main menu. Now it only show the commands from the root popups of the main menu, nether from thier sub-menus. How is it possible to restore it? Also is it possible to register my custom commands for the shortcut configuration, if they do not appear in the main menu? |
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 10 November 2004 at 11:48pm |
|
1. you can create special template menu ID_CUSTOMIZE and combine items as you want. pageKeyboard.AddCategories(ID_CUSTOMIZE ); 2. yes you can: CXTPControls* pControls = pageKeyboard.InsertCategory(_T("Shortcuts")); pControls->Add(....); |
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
Timur
Newbie
Joined: 21 September 2004 Status: Offline Points: 6 |
Post Options
Thanks(0)
Quote Reply
Posted: 11 November 2004 at 3:16am |
|
Thanks. But I still think that BOOL CXTPCustomizeKeyboardPage::AddCategory(CString strCategory, CMenu* pMenu) function should handle CMenu hierarchically, at least optionally with a boolean like bAddSubMenus. To add all submenus recursively as well. |
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 16 November 2004 at 3:51am |
|
added.
|
|
|
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 |