color listbox

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • tia.grosser@sensus.com

    color listbox

    I have a listbox that was created like this:
    hwndChild = CreateWindowEx (WS_EX_CLIENTED GE, TEXT ("listbox"),
    TEXT (""), WS_VISIBLE | WS_CHILD | WS_VSCROLL
    |
    LBS_USETABSTOPS | LBS_NOINTEGRALH EIGHT, 0,
    0,
    100, 100,hWnd, (HMENU)IDC_RPTL IST, 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
  • Victor Bazarov

    #2
    Re: color listbox

    tia.grosser@sen sus.com wrote:
    I have a listbox [..]
    >
    I would like to change its color [..]
    Wrong newsgroup. Try comp.os.ms-windows.program mer.

    V
    --
    Please remove capital 'A's when replying by e-mail
    I do not respond to top-posted replies, please don't ask


    Comment

    Working...