M mazheng Unregistered / Unconfirmed GUEST, unregistred user! 2009-06-28 #1 用 TWebBrowser; 打开一个本地的ppt文件后,如何屏蔽它产生的右键菜单??
I iseek Unregistered / Unconfirmed GUEST, unregistred user! 2009-06-28 #2 放一个applicationevent控件,在onmessage事件里处理即可.
M mazheng Unregistered / Unconfirmed GUEST, unregistred user! 2009-06-28 #3 procedure TMainFrm.aplctnvnts1Message(var Msg: tagMSG;var Handled: Boolean);begin if (Msg.message=WM_RBUTTONDOWN) or (Msg.message=WM_RBUTTONDBLCLK) or (Msg.message=WM_KEYDOWN) then Msg.message:=WM_NULL;end;可是读入ppt文件后,它所产生的右键菜单没有屏蔽啊
procedure TMainFrm.aplctnvnts1Message(var Msg: tagMSG;var Handled: Boolean);begin if (Msg.message=WM_RBUTTONDOWN) or (Msg.message=WM_RBUTTONDBLCLK) or (Msg.message=WM_KEYDOWN) then Msg.message:=WM_NULL;end;可是读入ppt文件后,它所产生的右键菜单没有屏蔽啊