Rick
Sat Feb 28 17:13:57 CST 2004
Does this happen only with EnableVisualStyles set to true? As Herfried
pointed out the first thing to do is Application.DoEvents right after the
EnableVisualStyles.
However, I would recommend you DO NOT use Application.VisualStyles as there
are a number of problems that it causes with code. Weird behavior with
images and image size (Toolbars especially) is very common as well as
problems with multi-threaded code using the Application object.
Using a manifest file instead and none of these problems occur...
+++ Rick ---
--
Rick Strahl
West Wind Technologies
http://www.west-wind.com/
http://www.west-wind.com/weblog/
----------------------------------
Making waves on the Web
" A-PK" <piercekerk@hotmail.com> wrote in message
news:uCWKxGg$DHA.808@TK2MSFTNGP12.phx.gbl...
> Hi,
>
> I found that when I apply application.enablevisualstyles. all the button
> image and listview image are not shown up.
>
> pls help me, anywhere to show the image when i apply that features
>
> Thank you
>
>