Hi,
On a right click, it display a little box "About dynamicPDF viewer", and another click on that little box display the about box.
I need to disable any right click on the control and can't find any properties to do that. (I use a licensed version of DynamicPDF Viewer)
Thanks
Disable right click
Re: Disable right click
Support · Apr 21, 2009Hello,
It is not possible to disable the right click. However, you can customize it to display your own desired menu when the users clicks the right mouse button. Below is the sample code:
Private Sub Form_Load()
DynamicPDFViewer1.OpenFile "C:\Temp\Test", ""
DynamicPDFViewer1.SetContextMenuString ("A,B,C")
End Sub
Private Sub DynamicPDFViewer1_OnContextMenuIndex(ByVal nIndex As Integer)
Select Case nIndex
Case 1
MsgBox ("menu1")
Case 2
MsgBox ("menu2")
Case 3
MsgBox ("menu3")
End Select
End Sub
Thanks,
ceTe Software Support Team