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

custumizing shortcuts problem

 Post Reply Post Reply
Author
Message
msamocha View Drop Down
Newbie
Newbie
Avatar

Joined: 07 March 2004
Location: Israel
Status: Offline
Points: 30
Post Options Post Options   Thanks (0) Thanks(0)   Quote msamocha Quote  Post ReplyReply Direct Link To This Post Topic: custumizing shortcuts problem
    Posted: 12 June 2006 at 5:38am

Hi

I have encountered an annoying problem in my application and was wondering whether someone might be able to help:

when going to the kbrd tab in the customize dlg, and removing an existing original shortcut (e.g ctrl-O for open), the shortcut still works after the dialog is closed for some reason.

in other words the shortcuts that are in the IDR_MAINFRAME cannot be erased for some reason. If I erase them in the custumize dialog they are deleted from the dialog ok but they still work
it's as if all my custumized shortcuts come in ADDITION to the IDR_MAINFRAME resource. (ie I can add shortcuts but not delete shortcuts that are in the RC file)


Looks like this started when migrating from 9.51 to 9.81. (I have noticed the slight change that savecommandbars saves the shortcuts now but that doesn't seem to be it)

any ideas are welcome




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: 12 June 2006 at 8:41am

Check CustomizeDlg sample and try to find deifference.  

 

Do you have

pCommandBars->GetShortcutManager()->SetAccelerators(ID R_MAINFRAME); call.

if you override LoadFrame check that you call base method (CXTPFrameWnd::LoadFrame)

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.074 seconds.