VisualStyles and ComboBox creation speed

J

jason.priebe

I'm working on an app that dynamically creates a fairly large number of
ComboBoxes (around 20-25) in response to user input.

When I call Application.EnableVisualStyles in my application, the
creation of the combo boxes is 2-4 times slower than if I don't
enable visual styles.

I'd really like to have the look of XP combo boxes, but not at this
performance price. Any suggestions? Thanks.

Jason Priebe
(e-mail address removed)
 
K

Ken Tucker [MVP]

Hi,

Maybe one of these will work better.

http://www.thecodeproject.com/vb/net/flatcombo.asp

http://www.windowsforms.com/default.aspx?tabindex=6&tabid=47&ItemID=8&mid=142

Ken
-----------------------
I'm working on an app that dynamically creates a fairly large number of
ComboBoxes (around 20-25) in response to user input.

When I call Application.EnableVisualStyles in my application, the
creation of the combo boxes is 2-4 times slower than if I don't
enable visual styles.

I'd really like to have the look of XP combo boxes, but not at this
performance price. Any suggestions? Thanks.

Jason Priebe
(e-mail address removed)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top