.Net CF TabControl Color

Y

y2k

Does anyone know how to change the tab backcolor? As is now, you can
change the tab pages to any color you want, but the tabs themselves
are still ugly gray. I've searched high and low and have found one
commercial control, but it's more then I want to pay.

Any ideas on how to do this using subclassing or p/invoke?

Thanks.
CH
 
P

Peter Foot [MVP]

The native Win32 Tab Control doesn't support overriding the colours. You can
change the entire system theme colors on Windows CE which should work. As I
remember there is a class in the Smart Device Framework (www.opennetcf.com)
which allows you to do this. I don't think this is possible with Windows
Mobile since most of the colours are hard-coded to white/grey etc.

Peter
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top