EnableVisualStyles() and treeview

  • Thread starter Thread starter Sam
  • Start date Start date
S

Sam

Hi,

when I do this :


System.Windows.Forms.Application.EnableVisualStyles()

My app looks cool, but my icons in the treeview control just gone :(

Is there a way to use visual styles along with treeviews ?

Thx
 
Sam said:
System.Windows.Forms.Application.EnableVisualStyles()

My app looks cool, but my icons in the treeview control just gone :(

Is there a way to use visual styles along with treeviews ?

Call 'Application.DoEvents' immediately after calling 'EnableVisualStyles'.
 
Back
Top