Click to See Complete Forum and Search --> : c++ winapi - menus


zaryk
December 26th, 2008, 11:59 PM
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:


//ini

[Menu]
[Edit]
Cut = 1
Copy = 2
Paste = 3
Separator
etc...




//menu output

Cut //#define EditCut 1
Copy //#define EditCopy 2
Paste //#define EditPaste 3
Separator //separator

zaryk
December 27th, 2008, 03:28 AM
nvm

TheCPUWizard
December 27th, 2008, 12:55 PM
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?

zaryk
December 27th, 2008, 09:54 PM
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.