Desktop-as-a-Service Designed for Any Cloud ? Nutanix Frame
This article covers the need for the dynamic creation of menus from XML files. Menus represent tree data structures exactly as XML files do. In case you have some data stored in an XML file and you want to select a specific item from it, wouldn't it be nice to have something like this:
CXmlMenu menu; //display the menu and get user selection CString answer = menu.TrackXml(this,"example.xml","name"); if (answer!="") MessageBox("You selected \"" + answer + "\"");
The code for XML file handling is taken from Pablo van der Meer.
DownloadsDownload demo project - 129 Kb
Download source - 6 Kb