Using Windows XP Visual Styles with Controls on Windows Forms
“ms-help://MS.MSDNQTR.2003FEB.1033/dv_vstechart/html/vbtchUsingWindowsXPVisualStylesWithControlsOnWindowsForms.htm.
Please read the MSDN document at the URL within the double quotes.
The above URL is from the MSDN library for visual studio.NET 2003. I came upon this URL by accident.
I tried this trick and the project did not come as expected. I am able to add the visual style to the controls that change visual style when bound to Comctl32.dll, version 6.0. All works fine until this step.
All the visual style gained until this step is lost while adding the code, which dynamically changes the FlatStyle property to System.
I am running Windows XP sp2, Visual Studio .NET 2003 sp1. Surprisingly I had this project done successfully before some time. However, due to some unavoidable reason I had to format my computer and lost this project. Since then I am not able to get this done.