Groups | Blog | Home
all groups > dotnet windows forms > september 2003 >

dotnet windows forms : Toolbar buttons dont' show



Keith Patrick
9/7/2003 10:46:59 PM
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).

Keith Patrick
9/7/2003 10:52:12 PM
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.

[quoted text, click to view]

Keith Patrick
9/8/2003 7:25:52 AM
That did the trick. Thanks! I was worried I was going to have to do manual
painting. MUCH easier.

[quoted text, click to view]

Pete
9/8/2003 11:00:11 AM
Are you using EnableVisualStyles? If so use Application.DoEvents immediately
after it.

-- Pete

[quoted text, click to view]

Herfried K. Wagner [MVP]
9/8/2003 3:25:49 PM
Hello,

"Keith Patrick" <richard_keith_patrick@nospamhotmail.com> schrieb:
[quoted text, click to view]

Themed toolbar buttons _are_ supported by Windows XP.

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

AddThis Social Bookmark Button