|
-
December 27th, 2008, 12:59 AM
#1
c++ winapi - menus
If I parse a xml file or even an ini file, would I have to create an owner drawn menu, in order, to use the information to create the menu?
for example:
Code:
//ini
[Menu]
[Edit]
Cut = 1
Copy = 2
Paste = 3
Separator
etc...
Code:
//menu output
Cut //#define EditCut 1
Copy //#define EditCopy 2
Paste //#define EditPaste 3
Separator //separator
-
December 27th, 2008, 04:28 AM
#2
-
December 27th, 2008, 01:55 PM
#3
Re: c++ winapi - menus
 Originally Posted by zaryk
nvm
It is considered "Good manners" to post the solution, even if you find it yorself.
Consider the future users who do a search, and only get the information I quoted above. If that happened to YOU, how would you feel?
TheCPUWizard is a registered trademark, all rights reserved. (If this post was helpful, please RATE it!)
2008, 2009,2010
In theory, there is no difference between theory and practice; in practice there is.
* Join the fight, refuse to respond to posts that contain code outside of [code] ... [/code] tags. See here for instructions 
* How NOT to post a question here
* Of course you read this carefully before you posted
* Need homework help? Read this first
-
December 27th, 2008, 10:54 PM
#4
Re: c++ winapi - menus
Ok. This is what I found: You can have your program read an ini and then use the information to create a context menu outside of a resource file.
Happy now?
No code, No solution. Just a yes or no answer, which is why I said nvm.
oh, and I would be happy for you, because you were able to find the answer yourself.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|