示例#1
0
 int IDocHostUIHandler.ShowContextMenu(DOCHOSTUICONTEXTMENU dwID, ref POINT ppt, object pcmdtReserved, object pdispReserved)
 {
     return((int)(ContextMenuEnabled ? HResult.S_FALSE : HResult.S_OK));
 }
示例#2
0
 int IDocHostUIHandler.ShowContextMenu(DOCHOSTUICONTEXTMENU dwID, ref POINT ppt, object pcmdtReserved, object pdispReserved)
 {
     return (int)(ContextMenuEnabled ? HResult.S_FALSE : HResult.S_OK);
 }