PDA

View Full Version : OnRButtonClick Event not working


songnian
February 21st, 2008, 11:18 AM
I download the ActiveX 2.0.
I add OnRButtonClick event:
ON_EVENT(CNewReaderDlg, IDC_FOXITREADERSDKCTRL1, 16 /* OnRButtonClick */, OnOnRButtonClickFoxitreadersdkctrl1, VTS_I4 VTS_I4 VTS_I4)

the event function never called.

Anything I did wrong?

Thanks!

Songnian

jinming_wang
February 21st, 2008, 05:40 PM
Make sure your cursor is moved out of the area of OCX,so the Dialog will take over the mouse click message.your may need to modify the Demo code.