winxp style background color problem

This is a discussion on winxp style background color problem within the Windows Programming forums, part of the Platform Specific Boards category; I have a program with the famous winxp style. My program uses a tab control and when different tabs are ...

  1. #1
    Registered User
    Join Date
    Mar 2005
    Posts
    76

    winxp style background color problem

    I have a program with the famous winxp style. My program uses a tab control and when different tabs are chosen, the correct window is shown on top of the dialog.

    But because i use a maindialog with childwindows, the background collors of the controls are wrong. Is there an easy way to set the background color of a control or is there an other solution? Im using win32 API and c.

    I already tried SetBkColor but this just doesnt work

    EDIT I just found some info on this board about how to do this.... never mind this post.
    Last edited by johny145; 07-06-2005 at 01:46 PM.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. WM_CAPTION causing CreateWindowEx() to fail.
    By Necrofear in forum Windows Programming
    Replies: 8
    Last Post: 04-06-2007, 09:23 AM
  2. Button handler
    By Nephiroth in forum Windows Programming
    Replies: 8
    Last Post: 03-12-2006, 06:23 AM
  3. WS_EX_COMPOSITED style (double buffering) problems
    By JasonD in forum Windows Programming
    Replies: 2
    Last Post: 10-12-2004, 12:21 PM
  4. winxp style scrollbars.
    By Benzakhar in forum Windows Programming
    Replies: 2
    Last Post: 12-16-2003, 04:16 PM
  5. Tab Controls - API
    By -KEN- in forum Windows Programming
    Replies: 7
    Last Post: 06-02-2002, 10:44 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21