XP Styles with .NET 1.1

  • Thread starter Thread starter Pawe³
  • Start date Start date
P

Pawe³

Hello Everyone!
I wonder, what is the best method to enable Windows XP Styles (or Themes..
:)) within .NET 1.1 application?
I found some article, where author has described post-build modyfication of
app.manifest from Win32 Resource of .exe file to bind against comctl32.dll
version 6. But this generates very weird behaviour of my app. e.g.. list
control items overlap and tab control with vertical tabs does not show text
on the tabs (and its borders are drawn incorrectly).
How to do this 100% efficiently and correctly?..

Thanks for any advice,
Paul
 
I should mention, that I was also trying
Application.EnableVisualStyles();

Application.DoEvents();

But those strange effects stills :(
 
Hi Girish,

Did Girish's suggestion help you?
Also have you tried simplified your program, e.g. try to remove some
controls, so that we can isolate the problem to see what control cause the
problem.
You may have a try and let me know the result.

Best regards,

Peter Huang
Microsoft Online Partner Support

Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.
 
Back
Top