Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
HWND from DEFINE POPUP?
Message
General information
Forum:
Visual FoxPro
Category:
Menus & Menu designer
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows NT
Database:
MS SQL Server
Miscellaneous
Thread ID:
01228880
Message ID:
01230387
Views:
20
> 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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform