Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Smoother screen updates during form resize
Message
From
28/07/2005 10:32:42
 
 
To
26/07/2005 22:59:00
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9
Miscellaneous
Thread ID:
01036082
Message ID:
01036595
Views:
11
>Any suggestions on how one can make a form resize event update the screen smoother? I'm using VFP 9's new Anchor property and the repainting during a mouse based form resize can get pretty jerky.
>
>Since all my control alignment and sizing is automatically handled by .Anchor properties, I don't see any place in my code to use LockScreen or the Win32 API equivalent (LockWindowUpdate).
>
>Should I assume this behavior is just a fact of life of Windows applications in general?
>
>This isn't a critical issue - just a disappointment in terms of application esthetics.
>
>Any thoughts?
>
>Malcolm

I find that the Resize event gets called multiple times when resizing a form. As an alternitive, I implememnted the LittleLowRightCorner control (download #25353) that displays a rectangle as the resizing is occuring. Then when the mouse is released, the form is rezized to the size of the rectangle. Much smoother.
Greg Reichert
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform