Re: Toolbar images
From: Butch (Butch_at_discussions.microsoft.com)
Date: 03/08/05
- Next message: tzake: "Re: what event is raised?"
- Previous message: Adrian: "Re: what event is raised?"
- In reply to: Herfried K. Wagner [MVP]: "Re: Toolbar images"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 8 Mar 2005 06:11:04 -0800
I am not using XP visual styles. I am not calling
Application.EnableVisualStyles.
I created the toolbar in the IDE, added an image list and then selected the
image for each button. They showed up for most of the development but
dissapeared when I went in to change the form size. This is another issue
where the IDE seems to change the form size on its own.
If you need more information or code please let me know.
Thanks for the assistance.
"Herfried K. Wagner [MVP]" wrote:
> "Butch" <Butch@discussions.microsoft.com> schrieb:
> >I have a windows form that has a toolbar on it. There are 4 buttons and
> >there
> > is an image list associated with this toolbar.
> >
> > During a recent edit of the application the button images disappeared when
> > running under the IDE. They still function but no images. I have set the
> > image list transparent color to empty.
> >
> > I have also tried resetting the image list images.
> >
> > I have seen this problem on other boards but have not found a solution
> > yet.
>
> If you are calling 'Application.EnableVisualStyles', call
> 'Application.DoEvents' directly after the call to 'EnableVisualStyles'.
>
> --
> M S Herfried K. Wagner
> M V P <URL:http://dotnet.mvps.org/>
> V B <URL:http://dotnet.mvps.org/dotnet/faqs/>
>
>
- Next message: tzake: "Re: what event is raised?"
- Previous message: Adrian: "Re: what event is raised?"
- In reply to: Herfried K. Wagner [MVP]: "Re: Toolbar images"
- Messages sorted by: [ date ] [ thread ]