Converting an executables events to ActiveX
Posted on 2006-03-23
I'm in the process of converting a windows app to an ActiveX control and I'm having some trouble with the event handelling.
Mainly I'm not sure how I can get 2 files to communicate with one another. In winWindow.cpp I have the older way of processing events:
static LRESULT PASCAL WindowProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam)
switch ( message )
In axPlugin.h I have the ATL way of processing events:
How do I get the events in axPlugin.h to run the code in winWindow.cpp?
Is there any catch all way I can do it or do I have to create a new function for every event?