Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - commandbar designer - need a bit of help
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

commandbar designer - need a bit of help

 Post Reply Post Reply
rdhd View Drop Down
Senior Member
Senior Member

Joined: 13 August 2007
Location: United States
Status: Offline
Points: 867
Post Options Post Options   Thanks (0) Thanks(0)   Quote rdhd Quote  Post ReplyReply Direct Link To This Post Topic: commandbar designer - need a bit of help
    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?
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.141 seconds.