Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
HWND from DEFINE POPUP?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de menu & Menus
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows NT
Database:
MS SQL Server
Divers
Thread ID:
01228880
Message ID:
01230387
Vues:
14
> How can this be modified to intercept the display of a menu shown through ACTIVATE POPUP...?

application.HWND -- this window hosts VFP main menu. I think the same window may receive menu related messages for a menu created with DEFINE POPUP.

Unless user-defined menus are created in some kind of smart way, lke windowless VFP controls.

Try these steps:

- run the code from my previous message; this code will insert a custom object in the _screen -- _screen.AddObject

- run some code that defines a menu; meanwhile do not issue commands, like CLEAR ALL etc., that may remove that Custom object

- try ACTIVATE POPUP -- check if the custom object reacts in any way
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform