Toolbar Images

  • Thread starter Thread starter Saleh Al-Shammari
  • Start date Start date
S

Saleh Al-Shammari

Hi All

I Have a windows from with a toolbar with ImageList set and ImageIndex is
set for every button, IN normal state everything is displayed as it should
be.

But when I add the line

Application.EnableVisualStyles();

The images on the toolbar are not displayed.

Any help would be apperciate.

Saleh
 
Saleh Al-Shammari said:
I Have a windows from with a toolbar with ImageList set and ImageIndex is
set for every button, IN normal state everything is displayed as it should
be.

But when I add the line

Application.EnableVisualStyles();

The images on the toolbar are not displayed.

Call 'Application.DoEvents' directly after the call to 'EnableVisualStyles'.
 
Back
Top