Jump to content
Xtreme .Net Talk

Recommended Posts

  • Leaders
Posted

I am making a program which uses Windows Xp styles. It uses a TabControl to manage documents (similar to the .net studio tabbed interface).

 

The TabControl places a TabPage control inside the TabContol. The default back color of a TabPage is the system Control color. However, with windows Xp styles, the background of a TabControl is ControlLightLight, and under windows classic style the background of a TabControl is Control.

 

How would I go about making the tabpage's backcolor the approprite color? (I am thinking detect if Xp styles are enabled, and setting the backcolor accordingly, but I'm hoping that there is something simpler).

[sIGPIC]e[/sIGPIC]

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...