Display Icon image in toolbar button.

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

The icon image shows fine in IDE designer but it disappear when run the code.

I use 16Bit color and 32x32 size for the imagelist.

Anything wrong here.

Frank
 
* "=?Utf-8?B?RnJhbms=?= said:
The icon image shows fine in IDE designer but it disappear when run the code.

I use 16Bit color and 32x32 size for the imagelist.

If you are using Visual Styles, add a call to 'Application.DoEvents'
directly after the call to 'Application.EnableVisualStyles'.
 
I am not using 'Application.EnableVisualStyles'. Should I use it and if yes, where to use?

Frank
 
* "=?Utf-8?B?RnJhbms=?= said:
I am not using 'Application.EnableVisualStyles'. Should I use it and if yes, where to use?

Do you use .NET 1.0 or 1.1?
 
Back
Top