horizontal scrollbar in listbox
im trying to implement horizontal scrollbar in listbox windows
with out any success
this is how my create list box looks like :
and it does create the scroll bar , but when i try to capture the event (WM_HSCROLL)
// Create a child listbox control.
hWndList = CreateWindowEx(0,
WS_CHILD | WS_VISIBLE | WS_HSCROLL | WS_VSCROLL | LBS_NOINTEGRALHEIGHT,
that looks like this :
but the scroll bar does not moving any where when i click or try to move it to the right .
int nScrollCode = (int) LOWORD(wParam); // scroll bar value
int nPos = (short int) HIWORD(wParam); // scroll box position
what im missing here ?
where do i need to do it ?