Any ideas of how to get the hwnd property of a listbox on a userform. I can use the API call FindWindow but the problem is i do now know the ClassName of the Listbox. In order to get the class name using another windows api you need the Hwnd of the control. Its a loop.
Im looking for the hwnd property on a vba form for a listbox. What im really looking for is the Classname so that i can pass it to the windows API to obtain the hwnd property.
I cannot find information related to the classname anywhere. For example i know the classname for a frame on a vba...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.