Drop-Down Menu Programming and WinBatch
Keywords: menu files filemenu popmenu
Question:
This is what i'm trying to do, I'm interested in creating a small window that is just 4 dropdown menus. From there the users will be able to select items to run. I'm ok on the code of a menu file, but how do i create this window, and add a menus bar to it? This is for win 3.x, but looking to do the same for win 95. Any help would be appreatiated. You can email me at moon_doggie@geocities.com BTW I amd using winbatch and compliler 96m.Answer:
Currently (WB96B) there is no way to make exactly the sort of application you describe. WinBatch itself does not support menus.WinBatch is a Batch Language implementation of the WIL language. As such, it does not support menu files. Other products (like Winbatch Studio) contain menu-file based implementations.
The 32 bit version of WinBatch includes a PopMenu utility that is fairly close to the application you describe.
In general, when this sort of request has popped up, we suggest developing a menu system based on pushbuttons in dialogs.
You can construct the dialog using the dialog editor, and have several layers of pushbuttons if desired.
Article ID: W13012Filename: Menuing Abilities using WinBatch.txt