By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
444,066 Members | 1,625 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 444,066 IT Pros & Developers. It's quick & easy.

Form flicker

P: n/a
Bob
Hi there,

I have created a simple ticker tape type app that scrolls 2 label controls
across the screen. It works just fine but the label controls flicker a lot.

Can anybody tell me how to prevent this?
Cheers
Nov 20 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Bob
Never mind... fixed it by adding this to the form:

'Add any initialization after the InitializeComponent() call
Me.SetStyle(ControlStyles.DoubleBuffer Or ControlStyles.UserPaint Or
ControlStyles.AllPaintingInWmPaint, True)
Me.UpdateStyles()

Cheers

"Bob" <1@2.3> wrote in message news:ek**************@TK2MSFTNGP12.phx.gbl...
Hi there,

I have created a simple ticker tape type app that scrolls 2 label controls
across the screen. It works just fine but the label controls flicker a lot.
Can anybody tell me how to prevent this?
Cheers

Nov 20 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.