I need to intercept the โInsertโ message that is being sent to my CHtmlView object. According to Spy ++, it is sent as a WM_COMMAND message, but also according to Spy ++, the message is not sent to the CHtmlView object, but rather to the Internet Explorer_Server (or IWebBrowser2) object that it wraps. The WM_COMMAND message in question is not found in any other parent objects (I found this by observing and through Spy ++).
How to intercept this message (or even, say, select all)? I looked at AfxCallWndProc for the correct WM_COMMAND message and it does not appear there.
source share