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