Is there a way to disable or hide the icon menu in the bookmarks pane, and also disable the bookmarks right click menu?
I intercept the context menu in the editor itself with this code:
Code: Select all
else if (e.nEventID == nIDS[(int)IDS.e_beforeShowContextMenu])
{
IPXV_BeforeShowContextMenuEvent evt = (IPXV_BeforeShowContextMenuEvent)e.pEvent;
int nID = pdfCtl.Inst.Str2ID("menu.pagesView", false);
Debug.WriteLine("pdfCtl.OnEvent: evt.MenuID=={0}", evt.MenuID);
if (evt.MenuID == nID)
{
e.pEvent.Handled = true;
}
if (evt.MenuID == 3424 || evt.MenuID == 3428 | evt.MenuID == 3406) // diable tools context menues
{
e.pEvent.Handled = true;
}
}
Ps! I have searched and did not find out how to do this for the bookmarks pane.
/Ronny