Win32: How to get a list for combobox

I am writing code, and I need to get a handle to the list box associated with the combo box. When you look in spy ++, it looks like the list parent is the desktop, not the combo box. How can I programmatically find a handle to a list box?

+3
source share
1 answer

Send CB_GETCOMBOBOXINFOto the combo box and fill COMBOBOXINFOin which contains window handles for the edit control and list control.

+4
source

Source: https://habr.com/ru/post/1749044/


All Articles