I've used the following line sucessfully to retrieve the hwnd of a form where my control is located.
hwnd = ctl.Parent.hwnd
However, this line is not working if the control is located within a Tab Control. Does anyone have any ideas on how I can retrieve the hwnd value for instances where the control is in a Tab Control?
Thanks in advance.
hwnd = ctl.Parent.hwnd
However, this line is not working if the control is located within a Tab Control. Does anyone have any ideas on how I can retrieve the hwnd value for instances where the control is in a Tab Control?
Thanks in advance.