Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to detect Minimize Event?
Message
 
 
To
15/11/2004 19:46:40
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00961579
Message ID:
00961583
Views:
5
>How can I detect minimize event of the form and windows?
>
>
You can use BINDEVENT() function to bind to the _SCREEN resize event. Sample code
PUBLIC oHandler
oHandler=NEWOBJECT("Resizer")
BINDEVENT(_SCREEN,"Resize",oHandler,"Resize")

DEFINE CLASS Resizer AS Custom
	PROCEDURE Resize
		DEBUGOUT _SCREEN.WindowState 
	ENDPROC
ENDDEFINE
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform