Print Page | Close Window

Problem with keyboard shortcuts customize

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Toolkit Pro
Forum Description: Topics Related to Codejock Toolkit Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=1396
Printed Date: 07 November 2025 at 1:19am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Problem with keyboard shortcuts customize
Posted By: Timur
Subject: Problem with keyboard shortcuts customize
Date Posted: 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?




Replies:
Posted By: Oleg
Date 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


Posted By: Timur
Date 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.



Posted By: Oleg
Date Posted: 16 November 2004 at 3:51am
added.

-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net