Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - Problem with keyboard shortcuts customize
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Problem with keyboard shortcuts customize

 Post Reply Post Reply
Author
Message
Timur View Drop Down
Newbie
Newbie


Joined: 21 September 2004
Status: Offline
Points: 6
Post Options Post Options   Thanks (0) Thanks(0)   Quote Timur Quote  Post ReplyReply Direct Link To This Post Topic: Problem with keyboard shortcuts customize
    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?

Back to Top
Oleg View Drop Down
Senior Member
Senior Member


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
Timur View Drop Down
Newbie
Newbie


Joined: 21 September 2004
Status: Offline
Points: 6
Post Options Post Options   Thanks (0) Thanks(0)   Quote Timur Quote  Post ReplyReply Direct Link To This Post 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.

Back to Top
Oleg View Drop Down
Senior Member
Senior Member


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 16 November 2004 at 3:51am
added.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.078 seconds.