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

the Accelerator problem

 Post Reply Post Reply
Author
Message
littleameng View Drop Down
Groupie
Groupie
Avatar

Joined: 22 June 2008
Location: China
Status: Offline
Points: 23
Post Options Post Options   Thanks (0) Thanks(0)   Quote littleameng Quote  Post ReplyReply Direct Link To This Post Topic: the Accelerator problem
    Posted: 27 October 2008 at 3:22am
I find a problem!
 
I modify the accelerator with the VC++ 6.0's resource editor, but When I run/debug the app, I don't find the result that I want.
 
this is the result of Searching for 'ID_EXPLORER_NOTEPAD'...
K:\develop\mdcms\mdcms\HomeFrame.cpp(63): ON_COMMAND(ID_EXPLORER_NOTEPAD, OnExplorerNotepad)
K:\develop\mdcms\mdcms\HomeFrame.cpp(193): SetDockingPaneIcon(IDS_TITLE_NOTEPAD, ID_EXPLORER_NOTEPAD);
K:\develop\mdcms\mdcms\HomeFrame.cpp(230):   lpCreateControl->nID == ID_EXPLORER_NOTEPAD))
K:\develop\mdcms\mdcms\mdcms.rc(179):    BUTTON      ID_EXPLORER_NOTEPAD
K:\develop\mdcms\mdcms\mdcms.rc(413):            MENUITEM "Notepad\tCtrl+D",             ID_EXPLORER_NOTEPAD
K:\develop\mdcms\mdcms\mdcms.rc(488):    "D",            ID_EXPLORER_NOTEPAD,    VIRTKEY, CONTROL, NOINVERT
K:\develop\mdcms\mdcms\mdcms.rc(1096):    ID_EXPLORER_NOTEPAD     "Notepad\nNotepad"
K:\develop\mdcms\mdcms\resource.h(243):#define ID_EXPLORER_NOTEPAD             32835
8 occurrence(s) have been found.
 
 
this is result of running app:
 
the correct result is "(icon) Notepad         Ctrl+D
 
 
I don't know the reason
Please help me ! thanks!
Back to Top
mgampi View Drop Down
Senior Member
Senior Member
Avatar

Joined: 14 July 2003
Status: Offline
Points: 1198
Post Options Post Options   Thanks (0) Thanks(0)   Quote mgampi Quote  Post ReplyReply Direct Link To This Post Posted: 27 October 2008 at 5:04am
Hi;

Just remove the registry key for commandbars of your application...
Martin

Product: Xtreme Toolkit v 19.0.0, new Projects v 19.1.0
Platform: Windows 10 v 1909 (64bit)
Language: VC++ 2017
Back to Top
znakeeye View Drop Down
Senior Member
Senior Member
Avatar

Joined: 26 July 2006
Status: Offline
Points: 1672
Post Options Post Options   Thanks (0) Thanks(0)   Quote znakeeye Quote  Post ReplyReply Direct Link To This Post Posted: 27 October 2008 at 11:48am

Isn't it possible to add versioning to the serialization of toolbars/docking panes?

Back to Top
Oleg View Drop Down
Admin Group
Admin Group


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: 28 October 2008 at 3:09am
Hi,
 
After you change layout you can just replace registry key = from LoadCommandBars("CommandBars") to f.e
LoadCommandBars("CommandBars.v2")
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.191 seconds.