Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can I obtain names of all popups
Message
From
22/02/2010 01:15:02
 
 
To
22/02/2010 00:46:26
General information
Forum:
Visual FoxPro
Category:
Menus & Menu designer
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01450164
Message ID:
01450168
Views:
57
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
Map
View

Click here to load this message in the networking platform