-
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
-
Re: c++ winapi - menus
-
Re: c++ winapi - menus
Quote:
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?
-
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.