color listbox

T

tia.grosser

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
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,014
Latest member
BiancaFix3

Latest Threads

Top