I have created a combobox...
invoke CreateWindowEx,0,_combobox,ButtonCaption,WS_VISIBLE+WS_CHILD+CBS_DROPDOWN+CBS_AUTOHSCROLL,16,210,200,200,,108,,NULL
Everything works fine except when adding more text than can be viewed vertically, no scroll bar appears.
I cannot find a 'cbs' to enable this. In fact, the docs imply that this should be automatic.
Please help.
invoke CreateWindowEx,0,_combobox,ButtonCaption,WS_VISIBLE+WS_CHILD+CBS_DROPDOWN+CBS_AUTOHSCROLL,16,210,200,200,,108,,NULL
Everything works fine except when adding more text than can be viewed vertically, no scroll bar appears.
I cannot find a 'cbs' to enable this. In fact, the docs imply that this should be automatic.
Please help.
WS_VSCROLL
Thanks... works great!
I have the MSDN Library and the Win32 DDK Reference and could not find this info.
Do you have a better reference or do you just learn these things from experience?
I have the MSDN Library and the Win32 DDK Reference and could not find this info.
Do you have a better reference or do you just learn these things from experience?
All the WS_ styles are useable on any type of windows (or controls) that is covered in the documentation under CreateWindow in both the Win32.hlp file and the MSDN disks. There are some however that have no effect because of the properties of the control.