Thread: winxp style background color problem

  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 12: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, 08: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, 11:21 AM
  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, 09:44 AM