Nick Parker
My ramblings on .NET...

XP Themes Issue

Saturday, 11 June 2005 09:39 by nickp
Yesterday I was working on an internal tool that contains several controls, one being a TreeView control. I noticed that my images for each node within my TreeView weren't showing up. As it turns out, there is an issue with calling Application.EnableVisualStyles() in 1.1 of the .NET Framework that causes TreeNode images to not display. To work around this, you can call Application.DoEvents() to process all Windows messages that are in queue before the instance of your application is invoked. Luckily, this has been fixed in 2.0.

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5
Categories:   .NET | Software
Actions:   E-mail | del.icio.us | Permalink | Comments (0) | Comment RSSRSS comment feed

Related posts

Add comment


(Will show your Gravatar icon)  

  Country flag

[b][/b] - [i][/i] - [u][/u]- [quote][/quote]



Live preview

August 20. 2008 03:15