Information générale
Catégorie:
Gestionnaire de menu & Menus
Versions des environnements
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
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement