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

Double-Buffering in VB2005?

P: n/a
I notice in VB 2005 that I can set a form to be double-buffered just by
setting that option to true in the Form properties. I have a panel on
that form but there doesn't appear to be a double-buffered property for
the panel control.

My first question: is the double buffering set on the form inherited by
the panel control or do I have to do the old fashioned manual
double-buffering with the panel?

I've noticed that animation I render on the panel is still quite
flickery so if double-buffering is working, it doesn't work as well as
when I do it manually.

Grateful for any assistance,
--
______ ___ __
/_ __/_ __/ _ )_______ ___ _/ /_____ ____
/ / / // / _ / __/ -_) _ `/ '_/ -_) __/
/_/ \_, /____/_/ \__/\_,_/_/\_\\__/_/
/___/

There are 10 types of people in this world; those who understand the
binary numbering system and those who don't.

There's no place like 127.0.0.1.

ASCII a silly question, get a silly ANSI.
Apr 1 '06 #1
Share this Question
Share on Google+
1 Reply


P: n/a
TyBreaker <ty*********@SPAMhotmail.com> wrote in news:eRx3IlSVGHA.900
@TK2MSFTNGP15.phx.gbl:
I notice in VB 2005 that I can set a form to be double-buffered just by
setting that option to true in the Form properties. I have a panel on
that form but there doesn't appear to be a double-buffered property for
the panel control.

My first question: is the double buffering set on the form inherited by
the panel control or do I have to do the old fashioned manual
double-buffering with the panel?

I've noticed that animation I render on the panel is still quite
flickery so if double-buffering is working, it doesn't work as well as
when I do it manually.

Grateful for any assistance,


If you create a class that inherits panel, then you can set double
buffering in the constructor just like you would with a form. I agree that
it doesn't appear that controls inherit double buffered status from the
parent...
Apr 2 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.