TreeView with grey scrollbar while using WinXP style

M

Michael

Hi,

My Windows application is using WinXP style. I have the following two lines
of code in my main form:
Application.EnableVisualStyles();
Application.DoEvents();

I have another form that I open as a dialogbox, with a TreeView. That
TreeView has a gray horizontal scrollbar (the vertical scrollbar uses the
WinXP style). If I click on the horizontal scrollbar, the latter will then
get the WinXP style (becomes blue in my case). Is that a known bug? Any
workaround?

Thanks.
 
G

Guest

It is a known bug that happens if you create the nodes in the editor. Fix is to create them dynamically.
Hi,

My Windows application is using WinXP style. I have the following two lines
of code in my main form:
Application.EnableVisualStyles();
Application.DoEvents();

I have another form that I open as a dialogbox, with a TreeView. That
TreeView has a gray horizontal scrollbar (the vertical scrollbar uses the
WinXP style). If I click on the horizontal scrollbar, the latter will then
get the WinXP style (becomes blue in my case). Is that a known bug? Any
workaround?

Thanks.

User submitted from AEWNET (http://www.aewnet.com/)
 

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