Print Page | Close Window

the Accelerator problem

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=12535
Printed Date: 17 May 2024 at 11:07pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: the Accelerator problem
Posted By: littleameng
Subject: the Accelerator problem
Date 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!



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


Posted By: znakeeye
Date Posted: 27 October 2008 at 11:48am

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



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



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