Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Save/Restore the Minimized Maximize setting
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00005342
Message ID:
00005361
Views:
24
>I'm interested in saving information about windows in a users file. I have been able to successfully to save the position and the size of the window successfully. My problem stems from the fact that it appears that VFP does not update various window dimensions or call various events when the window's visible prop is set to .F.
>
>My main scenerio is that I have a window that is in the destroy event and the window is maximized. I want to save the position of the window in its non maximized state (so when it is restored, and un-maximized it will fall back into its old position). So what I do is set the WindowState property to 0 and record the window dimensions. Unfortunatelly, the dimensions do not seem to be updated when the windows visible is .f..
>
>Does anyone have any suggestions? I have made the setup work by keeping Visible .t., but this introduces an annoying flicker! If you have setup this kind of system before I would greatly appreciate any help.


Will LOCKSCREEN avoid the flicker?

Tom
Tom
--------------------------------
Tom O'Hare
407-299-4268 -- tom@redtile.com -- http://www.redtile.com/
Independent Programmer Using Visual FoxPro, Visual Basic & more...
Operations Manager -- Virtual FoxPro User Group (VFUG)
http://www.vfug.org/ -- tom@vfug.org
President -- Central Florida FoxPro User Group (CFFUG)
http://www.redtile.com/foxpro/
Universal Thread Most Valued Professional (MVP)
http://www.transformation.com/foxpro/
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform