How can I get a pointer to any interface of an ActiveX control if I know the HWND of its window?
Best regards & 10x
Dimitar
Printable View
How can I get a pointer to any interface of an ActiveX control if I know the HWND of its window?
Best regards & 10x
Dimitar
I think CWnd::FromHandle(HWND hwnd) will do.
Good luck. :)
10x, Walter, but it's not working :-(
It seems it will work for CWnds from my app, but the case is - I have a 3rd party ActiveX instantiated in another app, and mine is trying to get its props.
UKK