color listbox

Discussion in 'C++' started by tia.grosser@sensus.com, Mar 25, 2008.

  1. Guest

    I have a listbox that was created like this:
    hwndChild = CreateWindowEx (WS_EX_CLIENTEDGE, TEXT ("listbox"),
    TEXT (""), WS_VISIBLE | WS_CHILD | WS_VSCROLL
    |
    LBS_USETABSTOPS | LBS_NOINTEGRALHEIGHT, 0,
    0,
    100, 100,hWnd, (HMENU)IDC_RPTLIST, hInst,
    NULL);



    I would like to change its color to red or green a certian points
    thruout the program and cannot figure out how to do that.

    Any help would be greatly appreciated.

    Thanks,
    Tia
    , Mar 25, 2008
    #1
    1. Advertising

  2. wrote:
    > I have a listbox [..]
    >
    > I would like to change its color [..]


    Wrong newsgroup. Try comp.os.ms-windows.programmer.

    V
    --
    Please remove capital 'A's when replying by e-mail
    I do not respond to top-posted replies, please don't ask
    Victor Bazarov, Mar 25, 2008
    #2
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. blenderdude
    Replies:
    0
    Views:
    969
    blenderdude
    Aug 3, 2003
  2. DC Gringo
    Replies:
    0
    Views:
    397
    DC Gringo
    Apr 6, 2004
  3. kent
    Replies:
    1
    Views:
    873
    Andrew de la Harpe
    May 3, 2004
  4. Simon Prince
    Replies:
    2
    Views:
    3,320
    =?Utf-8?B?TWljaGFlbCBUYXlsb3I=?=
    Oct 19, 2004
  5. Kamaljeet Saini
    Replies:
    0
    Views:
    403
    Kamaljeet Saini
    Feb 13, 2009
Loading...

Share This Page