hi,
may i know how can i highlight a row in a list box using VC++?
thanks alot
wayne
hi,
may i know how can i highlight a row in a list box using VC++?
thanks alot
wayne
>may i know how can i highlight a row in a list box using VC++?
If you are using WINAPI, then send a LB_SETCURSEL message to the control:
If you are using MFC, then I don't know. Try posting this under the Windows Programming forum.Code:SendMessage(hWndControl, (UINT) LB_SETCURSEL, (WPARAM) row, (LPARAM) 0);