Hey guys,
I've looked up and down, for 2 days, on how to obtain a control's handle on a userform in VBA...and have yet to find an answer.
I've looked at FindWindow and FindWindowEx APIs as well as EnumChildWindows (with GetWindowText and GetWindowTextLength) and I'm just either not understanding what's out there on the net or I'm not going the right path.
If I have a Userform with a TextBox, ListBox, and 2 CommandButtons, for example, does anybody know how to get each control's Handle?
I guess nobody does this in VBA...In VB, each control has a hWnd property. So does that mean that controls in VBA are Windowless?