|
-
May 1st, 2009, 02:38 PM
#1
Controls Flickering
My application is runs without any external dependencies like .dlls.
When I run my app, the controls flicker on as it loads. It's not terrible, but it's annoying and kind of takes down from the professionalism. I was trying to figure out what was causing it and found out that it was my background image.
My background image is a jpeg and I guess it is too large. Is there a way I can get it to load the image better so my controls don't flicker or maybe use a different file type that is smaller?
Thanks
CodeBank contributions: Process Manager, Temp File Cleaner
 Originally Posted by SJWhiteley
"game trainer" is the same as calling the act of robbing a bank "wealth redistribution"....
-
May 1st, 2009, 02:44 PM
#2
Re: Controls Flickering
Not really. The system Windows uses to draw Windows Forms applications is called GDI+ and it's a slug when it comes to graphics, especially compared to DirectX and WPF (which uses DirectX behind the scenes). You can try setting "DoubleBuffered = True" on your form. It may help some.
-
May 1st, 2009, 02:57 PM
#3
Re: Controls Flickering
I already turned double buffering on and it helps a little bit. But it's still not as good as I would like it
CodeBank contributions: Process Manager, Temp File Cleaner
 Originally Posted by SJWhiteley
"game trainer" is the same as calling the act of robbing a bank "wealth redistribution"....
-
May 2nd, 2009, 12:32 AM
#4
Re: Controls Flickering
It seems my background picture was set as tile, so it was loading more than it should. I set it to center and with double buffering, it works a whole lot better. Still not perfect, but tolerable.
Thanks
CodeBank contributions: Process Manager, Temp File Cleaner
 Originally Posted by SJWhiteley
"game trainer" is the same as calling the act of robbing a bank "wealth redistribution"....
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
|