I have following situation:
On my form, I have an activeX control (pdf.ocx). I have Acrobat Reader 6 installed. What I need to do is disable the right mouse click in the activeX. This is needed because I don't want users to be able to use the "Print" option in the context-menu. I can deactivate the toolbar, and deactivate the Print HotKey (using RegisterHotKeys Win32 API function call)
However, I can't figure out how to disable the right mouse button click. I tried overriding the WndProc and catching the WM_MOUSEACTIVE and WM_RBUTTONDOWN Messages, but without success.
I hope someone can help me with this
On my form, I have an activeX control (pdf.ocx). I have Acrobat Reader 6 installed. What I need to do is disable the right mouse click in the activeX. This is needed because I don't want users to be able to use the "Print" option in the context-menu. I can deactivate the toolbar, and deactivate the Print HotKey (using RegisterHotKeys Win32 API function call)
However, I can't figure out how to disable the right mouse button click. I tried overriding the WndProc and catching the WM_MOUSEACTIVE and WM_RBUTTONDOWN Messages, but without success.
I hope someone can help me with this