Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Trapping when VFP _Screen resizes
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00339666
Message ID:
00339780
Views:
17
>Has anybody got any tool or tip to trap a VFP _Screen resize event. I want to identify when somebody maximizes or normalizes (WindowState 0 or 2) in real-time.
>

Basically, you can't hook it. Either run a timer that checks the WindowState at a regular interval, or replace _screen witha top-level form and have all forms run In Top Level form.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Reply
Map
View

Click here to load this message in the networking platform