Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - User defined shortcut keys
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

User defined shortcut keys

 Post Reply Post Reply
Author
Message
sandeepa View Drop Down
Groupie
Groupie


Joined: 10 June 2006
Status: Offline
Points: 17
Post Options Post Options   Thanks (0) Thanks(0)   Quote sandeepa Quote  Post ReplyReply Direct Link To This Post Topic: User defined shortcut keys
    Posted: 02 December 2006 at 12:28pm

Another quick question.

We'd like to offer our users alternate key-bindings (keyboard accelerators) that are used by a competing product(s). Is it possible to switch key-binding for commands/menu-items on the fly at run-time?

Ideally, we'd like to read the key-bindings from a flat file. What is the best way to do this?

-S
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: 03 December 2006 at 1:47am
Yes you can.
See CXTPShortcutManager class in help.
 
f.e
pCommandBars->GetShortcutManager()->UpdateAcellTable(...);
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.063 seconds.