CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Mar 2001
    Posts
    44

    how to let the Activex control in the application have the xp style??

    hi:
    I create the application in VC.net in Win XP,which uses the CHtmlView class. But when I use it to open the webpage ,the controls on the webpage dosen't have the XP style. If I use IE to do so ,the controls on the page have the xp style
    How to make the webpage opened by my applicaton also has the xp style?

    thanks
    benben

  2. #2
    Join Date
    Jul 2002
    Location
    .NET 2.0/.NET 3.0/.NET 3.5 VS2005/VS2008
    Posts
    284
    InitCommonControls() <= This is although win32 unmanaged code... Don't know the managed code for this.

    This should enable the xp-style view of active-x controls.
    Another solution is to make custom-draw functions for your active-x control.
    WM.

    What about weapons of mass construction?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured