Win32: Reading WS_VSCROLL style from a combo box
- by Adam Tegen
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.