|
-
Jul 26th, 2006, 03:08 AM
#1
Thread Starter
New Member
Forms flicker when loading
Hi all,
I'm using VB.Net (2005), and have created a simple windows application, with MDI child forms.
When I load the child forms, the forms appear to flicker (while loading each control).
I'm running on a 1.8GHz Pentium M, on 1GB of RAM, so I dont think it's a resource issue.
Please advise...
Thanx in advance..
;p
-
Jul 26th, 2006, 08:05 AM
#2
Re: Forms flicker when loading
Try adding Application.DoEvents() right before you show the child form. This should help.
-
Jul 26th, 2006, 08:30 AM
#3
Junior Member
Re: Forms flicker when loading
You could also try adding in a SuspendLayout before you load the form, then add in a ResumeLayout after the form is loaded.
-
Jul 30th, 2006, 09:21 PM
#4
Thread Starter
New Member
Re: Forms flicker when loading
Thanx guys,
I've tried to insert the DoEvents, but that didnt help.
Also have been trying to use the Suspend/ResumeLayout, which technically would've been the obvious solution, but apparently, had no effect.
I've also narrowed down the issue to the fact that it flickers horribly only when I set the MDI child window state to "maximized". It still flickers when loading the form as "normal", but a lot less.
-
Jul 31st, 2006, 04:20 AM
#5
Re: Forms flicker when loading
What flickers superfrog ¿
The controls on the particular form, or the form itself ¿
How do you load the child forms ¿
VB.NET MVP 2008 - Present
-
Jul 31st, 2006, 08:41 AM
#6
Fanatic Member
Re: Forms flicker when loading
Applications created with Microsoft Visual Basic .NET always seem to flicker when they are being drawn. I have noticed this constantly with my applications. The only suggestion I could find is to use a different programming environment such as C++/MFC.
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
|