Mick
Wed Apr 06 04:15:51 CDT 2005
This generally happens with a call to Application.EnableVisualStyles.
Follow the call with a call to Application.DoEvents and make sure that these
calls are made in Sub Main().
An alternative solution is to add a Manifest resource to the App instead of
calling EnableVisualStyles.
If your Icons have an Alpha Channel then you may find that they display
incorrectly. In this case load the imagelist at runtime.
--
Mick Doherty
http://dotnetrix.co.uk/nothing.html
"John J. Hughes II" <no@invalid.com> wrote in message
news:u8uAUDkOFHA.3296@TK2MSFTNGP15.phx.gbl...
> Yes I'm running on WinXP pro SP2 with all patches up to date and VS 2003.
>
> "Mick Doherty"
> <EXCHANGE#WITH@AND.REMOVE.SQUAREBRACKETS.[mdaudi100#ntlworld.com]> wrote
> in message news:O5n1j8gOFHA.544@TK2MSFTNGP10.phx.gbl...
>> WindowsXP?
>> VS2003?
>>
>> --
>> Mick Doherty
>>
http://dotnetrix.co.uk/nothing.html
>>
>>
>> "John J. Hughes II" <no@invalid.com> wrote in message
>> news:ulDFkjgOFHA.3444@tk2msftngp13.phx.gbl...
>>>I have a toolbar on a windows tab control tab page which is on a form. I
>>>have added three buttons with icons via an image list. The icons display
>>>correctly in the VS and the first time I compile from the runtime. But
>>>when I compile again they vanish from the runtime but still appear
>>>correctly in the VS. I have another form where they display correctly
>>>but the toolbar is on the form itself, not sure if this is the problem.
>>>
>>> Any suggestion on how to get the toolbar icons to display correctly?
>>>
>>> Regards,
>>> John
>>>
>>
>>
>
>