help me to show horizontal scrollbar on listbox

I have a code

[code] hwndList = CreateWindow (TEXT ("listbox"), NULL,
[color=Red] WS_CHILD| WS_VISIBLE | WS_BORDER| LBS_NOTIFY| WS_VSCROLL| WS_HSCROLL[/color] ,
cxChar, cyChar * 3,
cxChar * 70+ GetSystemMetrics (SM_CXVSCROLL),
cyChar * 35+ GetSystemMetrics (SM_CXHSCROLL),
hwnd, (HMENU) ID_LIST,
(HINSTANCE) GetWindowLong (hwnd, GWL_HINSTANCE),
NULL) ;[/code]

The Red is the style of listbox , when i run program i can see the vertical scrollbar but i can't see horizontal scrollbar . i don't understand... thanks for help me!

Comments

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

In this Discussion