commandbar designer - need a bit of help |
Post Reply |
Author | |
rdhd
Senior Member Joined: 13 August 2007 Location: United States Status: Offline Points: 886 |
Post Options
Thanks(0)
Posted: 09 October 2009 at 3:41pm |
How do I load all of my existing command identifiers and especially the icons (actually glyphs, including PNG images) from our resource file into the command bar designer? Can it load my resource file with the string table with all the IDs and our images and allow me to associate the individual images in our glyphs as we basically do when we call the icon manager's various LoadIcons methods?
I see a "pre populated" list of command ids (from CJ commands) and I want to pre-load our IDs too. We also have string table IDs for all of our tabs and groups and I want to use them too.
I tried the "File open" command and tried to open a resource DLL but I got an error regarding an unsupported format. Searching the help file for "resource", "string table" and other guesses on my part all ended up finding nothing.
Also, what is the internationalization strategy? We currently build individual resource DLLs and simply set MFC resource handle and then create a control with the ID we want and CJ loads the caption, description, tip from the string table. It looks like the xml file produced has string data in it instead of just the control IDs. If I load a file produced from the designer at runtime into our app, will the system automatically bind to the strings in our string table? If not, what option is there to avoid saving out the string data and/or force the binding to automatically occur?
|
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |