-
June 15th, 2011, 05:18 PM
#1
[RESOLVED] Restore window position
When my app launches I want to restore the window position to the location that it was when the app last terminated. I can restore the location but the window flickers when it is moved from the location that Windows placed it to my location. How can I avoid the flicker?
Thanks in advance,
Hal
up·grade (up'gräd'),
to take out old bugs
and put in new ones.
-
June 15th, 2011, 07:42 PM
#2
Re: Restore window position
If you're setting it's location in the Load event, try setting the location in the form constructor instead... then it should only paint once at the new location.
-
June 16th, 2011, 10:31 AM
#3
Re: Restore window position
Thank you for the help. It works perfectly.
Regards,
Hal
up·grade (up'gräd'),
to take out old bugs
and put in new ones.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|