Re: Problems supporting Windows XP themes

From: Ying-Shen Yu[MSFT] (v-yiy_at_online.microsoft.com)
Date: 03/25/04


Date: Thu, 25 Mar 2004 13:35:42 GMT

Hi Roy,

"Please note the error is in the call of EnableVisualStyles, not later when
the form is displayed. "

If I understand correctly, you mean you got this message when calling the
EnableVisualStyles method, is it from an exception?
If yes, maybe we can get some information from the stack trace of the
exception.

If there is not much helpful information, is it possible to send me a
sample to let me test it on my system?

Thanks!

Best regards,

Ying-Shen Yu [MSFT]
Microsoft community Support
Get Secure! - www.microsoft.com/security

This posting is provided "AS IS" with no warranties and confers no rights.
This mail should not be replied directly, please remove the word "online"
before sending mail.



Relevant Pages

  • Re: Has the EnableVisualStyles bug hit me?
    ... you get the 'rounded corners' even without enabling visual styles. ... According to my colleague, calling EnableVisualStyles indeed can cause some nasty bug, but as you say you don't call this method, you should be on the safe side. ... Once the breakpoint is hit, examine the exception caught in the Watch window, paying special attention to the stack trace. ...
    (microsoft.public.dotnet.framework.windowsforms)
  • RE: Problems supporting Windows XP themes
    ... if you only use EnableVisualStyles in your program to ... If the test program still have the same error message, ... generated exe file) to me by e-mail. ... before sending mail. ...
    (microsoft.public.dotnet.framework)
  • Re: Problems supporting Windows XP themes
    ... I put the EnableVisualStyles back into the program that it had worked in and it is working as of now. ... Next time it fails, I will get the stack trace and post into a new message. ... I will see if the simple test program fails at that time also. ...
    (microsoft.public.dotnet.framework)
  • Re: BUG in ListView - throws exceptions when adding items
    ... This isn't the only problem that EnableVisualStyles can give you. ... > There is a bug with the ListView control which is revelead when calling ... > exception. ... > no exceptions are thrown if EnableVisualStylesis not called ...
    (microsoft.public.dotnet.framework.windowsforms)
  • Re: Verständnisfrage zu XP-Style
    ... Diese Exception kam meist aus einem Control eines ... Fremdherstellers. ... nach EnableVisualStyles ...
    (microsoft.public.de.german.entwickler.dotnet.csharp)