Sign in to follow this  
benryves

[.net] The shonky TreeView control strikes back with more theme bugs

Recommended Posts

I'm using Skybound to try and fix the issues on my form, and it's looking pretty good: ...it's just that the scrollbars on the TreeView control are deciding to hate me. [sad] I've added the control to my form, and have this in my Main() function:
[STAThread]
static void Main() {
	Skybound.Visualstyles.VisualstyleProvider.EnableVisualstyles();
	Application.DoEvents();
	Application.Run(new frmMain());
}
...but it doesn't seem to do much. Does anyone know of a reliable way to fix these peculiar XP theme bugs?

Share this post


Link to post
Share on other sites
Quote:
Original post by Justaddwater
I dont understand what your problem is. Are you saying the fact there is a horiz scroll bar? Or am I missing something...
The arrows on the horizontal scroll bar are grey and not themed, whereas the rest of the bar is blue and XP themed correctly.

Share this post


Link to post
Share on other sites
Yeahhhh, uhm, I couldn't even begin to tell you. I've had so many problems with themes in .net apps that are apparently random in origin. Good luck - oh and thanks for pointing out skybound, I think I'll be looking into using that myself.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this