I have a simple C# Windows Forms application with two toolbars, using the
standard .NET toolbar and imagelist classes. I want to dock one toolbar at
the top and the other at the left edge of the form.

In the designer they look fine but when I run the app the vertically-docked
bar loses all its icon images.

I've tried various settings like flat vs. normal, and I tried adding
Application.EnableVisualStyles() and Application.DoEvents() before
Application.Run(), but no difference.

Is this just a bug (hard to believe one simply can't have vertical toolbars
in .NET) or is there some setting or method I've overlooked?

Thanks,
Michael Kairys
SL Corporation

Re: Toolbar icon images disappear when docked vertically - Bug? by Michael

Michael
Mon Jun 07 07:40:17 CDT 2004

> Is this just a bug (hard to believe one simply can't have vertical
toolbars
> in .NET) or is there some setting or method I've overlooked?

This is a serious problem for us. Is there somewhere else to ask, or someway
else to get help?



Re: Toolbar icon images disappear when docked vertically - Bug? by hirf-spam-me-here

hirf-spam-me-here
Mon Jun 07 08:32:15 CDT 2004

* "Michael Kairys" <michael-nospam@sl.com> scripsit:
>> Is this just a bug (hard to believe one simply can't have vertical
> toolbars
>> in .NET) or is there some setting or method I've overlooked?
>
> This is a serious problem for us. Is there somewhere else to ask, or someway
> else to get help?

I am able to repro this behavior (Windows XP Professional, .NET 1.1),
but I don't have an idea on how to solve it too.

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>

Re: Toolbar icon images disappear when docked vertically - Bug? by Michael

Michael
Tue Jun 08 09:09:11 CDT 2004

> I am able to repro this behavior (Windows XP Professional, .NET 1.1),
> but I don't have an idea on how to solve it too.

I have been able to work around this by putting the toolbars in Panels and
giving them DockStyle.Fill.

If I give them DockStyle.Left within the Panel they become invisible - it
seems this is the bug. Should I file a bug report with MS? How do I do that?



Re: Toolbar icon images disappear when docked vertically - Bug? by hirf-spam-me-here

hirf-spam-me-here
Tue Jun 08 12:36:38 CDT 2004

* "Michael Kairys" <michael-nospam@sl.com> scripsit:
>> I am able to repro this behavior (Windows XP Professional, .NET 1.1),
>> but I don't have an idea on how to solve it too.
>
> I have been able to work around this by putting the toolbars in Panels and
> giving them DockStyle.Fill.
>
> If I give them DockStyle.Left within the Panel they become invisible - it
> seems this is the bug. Should I file a bug report with MS? How do I do that?

The bug still exists in the May 2004 CTP version of VS 2005. I'll
submit a bug report.

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>