-
pls help me
hi,
I have downloaded this source code in c#. If I add another textbox the properties will automatically change into XP look like during runtime and I dont understand what code the are using. Can anybody explain me here.
Pls look at the attach zip file.
Popskie,
-
Re: pls help me
The XpButton class is calling methods from the NativeMethods class to draw itself. Those methods are actually API functions from the uxtheme.dll library.
-
Re: pls help me
I add NativeMethods class in my own application but nothing happens. Can u tell how use that class. thanks for the reply.
popskie
-
Re: pls help me
I'm afraid that's up to you to work out. They are just API calls like any other, but it is a little complex drawing entire controls yourself. If you want visual style support I suggest you just go to www.skybound.ca and download their VisualStyles component. If you really want to learn how to do this yourself, then there's not much point in my doing the work for you. :)