Images in toolbar disappeared

  • Thread starter Thread starter Hugh
  • Start date Start date
H

Hugh

in debug mode once the size was changed. I tried to
change buttom size and image size in different values
(both in the same value or button size is larger than that
of image. It does not work. What is wrong? Thanks for
help.

Hugh
 
* "Hugh said:
in debug mode once the size was changed. I tried to
change buttom size and image size in different values
(both in the same value or button size is larger than that
of image. It does not work. What is wrong? Thanks for
help.

Are you using Windows XP Visual Styles? Then call
'Application.DoEvents' directly after calling
'Application.EnableVisualStyles'.
 
You are great helper, Herfried. No, I am not except my
Window is XP.

Hugh
 
* said:
You are great helper, Herfried. No, I am not except my
Window is XP.

Mhm... Does re-adding the images to the ImageList work? I know, that's
not an easy solution.
 
Hi Herfried,

No, it does not work if I add new images to the toolbar.
The same problem happened for another project, I tried
many many combinations and finally it worked and the
reason that I still do not understand. If I start a new
project and use default values of image size and button
size, everything is fine. But once I changed button size
(for larger size and off cause larger image size), then
images were disappeared in debugging mode.

Thanks again for help.

Hugh
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top