Leaders snarfblam Posted February 28, 2004 Leaders Posted February 28, 2004 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). Quote [sIGPIC]e[/sIGPIC]
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.