ExecWB:
Call this member function to execute a command in the WebBrowser or Internet Explorer.
IWebBrowser2::ExecWB Method:
Implements a wrapper that allows you to execute a command on an OLE object using the IOleCommandTarget::Exec method.
就是用OLE的什么什么方法叫了IE菜单里的编辑->剪切,所以都删了.
IE菜单里有时候是灰的,是他在菜单里判断过是不是可编辑区域.
你要是用ExecWB就说明你是程序员,自己加上判断应该也可以吧.
C4146 is an indication of the usage of a negative sign in the FINDTEXT_FLAGS enumeration. This is a low impact bug in the MSHTML type library and can be safely ignored.
to plato(天天)
终于成功了,虽然有两个警告:
mshtml.tlh(58171) : warning C4146: unary minus operator applied to unsigned type, result still unsigned
mshtml.tli(82696) : warning C4049: compiler limit : terminating line number emission
有没有办法消除?