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).

Re: Toolbar buttons dont' show by Keith

Keith
Sun Sep 07 22:52:12 CDT 2003

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.

"Keith Patrick" <richard_keith_patrick@nospamhotmail.com> wrote in message
news:OsjFbvbdDHA.1752@TK2MSFTNGP11.phx.gbl...
> 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).
>
>



Re: Toolbar buttons dont' show by Pete

Pete
Mon Sep 08 05:00:11 CDT 2003

Are you using EnableVisualStyles? If so use Application.DoEvents immediately
after it.

-- Pete

Keith Patrick wrote:
> 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).



Re: Toolbar buttons dont' show by Keith

Keith
Mon Sep 08 07:25:52 CDT 2003

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

"Pete" <pvidler@gawab.com> wrote in message
news:QqY6b.45$x91.142513@newsfep2-gui.server.ntli.net...
> Are you using EnableVisualStyles? If so use Application.DoEvents
immediately
> after it.
>
> -- Pete
>
> Keith Patrick wrote:
> > 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).
>
>



Re: Toolbar buttons dont' show by Herfried

Herfried
Mon Sep 08 08:25:49 CDT 2003

Hello,

"Keith Patrick" <richard_keith_patrick@nospamhotmail.com> schrieb:
> 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.

--
Herfried K. Wagner
MVP · VB Classic, VB .NET
http://www.mvps.org/dotnet