General information
Category:
Menus & Menu designer
Environment versions
Network:
Windows 2008 Server
Thanks! I just came to this conclusion myself. I didn't even realize that the definitions were captured by display memory, until I read another thread on here just now. I was just pondering how to do this. In the output there is the string 'Popup Definitions', then a blank line, then the POPUP names followed by the number of bytes, then a blank line and then the string n + 'Popups Defined'. So I can probably find a way to *reliably* parse it, assuming that this output is consistently presented this way.
I read somewhere (but now I can't find it), I think, that codemine has an fll that handles this?
Isn't there some way using windows API functions to get a list of system windows?
>>I know about most or all of the menu functions like prmbar(), getbar(), popup(), etc.
>>However these don't appear to be getting me what I need.
>>
>>I would like to get a list, collection, array, whatever, of defined popups. Is this possible?
>>
>>The reason I need this is because I have an application for which I only have 'limited source'. The menus are built programmatically from a database, and there is no mnx or mpr. I want to be able to remove or add menu items on the fly, but I can't figure out a way to do this if I don't know the names of the popups.
>>
>>e.g. release bar 1 of MYPOPUP
>>
>>but I don't know the name MYPOPUP.
>
>
>I think there's no choice but to
>
>(1) disp memo to file ...
>(2) read the file and parse it
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only