Win32: Reading WS_VSCROLL style from a combo box

Posted by Adam Tegen on Stack Overflow See other posts from Stack Overflow or by Adam Tegen
Published on 2010-06-08T19:11:49Z Indexed on 2010/06/08 19:22 UTC
Read the original article Hit count: 171

Filed under:
|
|
|
|

I'm iterating through the controls in a dialog and I'm trying to determine if a combobox was created with the WS_VSCROLL style.

The style, obtained from GetWindowLong(hwnd, GWL_STYLE), doesn't contain the WS_VSCROLL bit (0x200000), even when I know it was set on create.

© Stack Overflow or respective owner

Related posts about winapi

Related posts about win32