I'm working on the ActiveX control which window is supose to be child of the ClientView window of the MDI application. I have some questions...
1. How I can (from the ActiveX) retrieve informations such are hInstance handle of the MDI application and hWnd of the Client View window?
I tried with GetWindowLong(), but compiler reports following error:
hWndParent = ::GetWindowLong(m_hWnd,
C2440: '=' : cannot convert from 'long' to 'struct HWND__ *'
What is going on here?