Click to See Complete Forum and Search --> : how to let the Activex control in the application have the xp style??


benben
October 30th, 2002, 07:51 AM
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

WillemM
November 6th, 2002, 10:45 AM
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.