Toolbar buttons dont' show

  • Thread starter Thread starter Keith Patrick
  • Start date Start date
K

Keith Patrick

I just wrote a quick Windows app with some toolbar buttons. In design view,
the buttons show up fine, but when I run the app, the toolbar button images
don't show up. Is there some simple setting that I am missing? I've tried
using both .GIF and .BMP format, and both show up fine in the designer
(although the GIF is the only one that has transparency working normally).
 
Heh...musta had a bit too much to drink tonight :) Just saw a nearly
identical post a few messages down. The explanation, though, (Windows not
supporting themed buttons with images) screams "LAAAAME" anyway, though.
 
Are you using EnableVisualStyles? If so use Application.DoEvents immediately
after it.

-- Pete
 
That did the trick. Thanks! I was worried I was going to have to do manual
painting. MUCH easier.
 
Hello,

Keith Patrick said:
Heh...musta had a bit too much to drink tonight :) Just saw
a nearly identical post a few messages down. The explanation,
though, (Windows not supporting themed buttons with images)
screams "LAAAAME" anyway, though.

Themed toolbar buttons _are_ supported by Windows XP.
 
Back
Top