谢了!

解决方案 »

  1.   

    TWebBrowser.ExecWB
    type OLECMDID = TOleEnum;OLECMDEXECOPT = TOleEnum;procedure ExecWB(cmdID: OLECMDID; cmdexecopt: OLECMDEXECOPT); overload;
    procedure ExecWB(cmdID: OLECMDID; cmdexecopt: OLECMDEXECOPT; var pvaIn: OleVariant); overload;
    procedure ExecWB(cmdID: OLECMDID; cmdexecopt: OLECMDEXECOPT; var pvaIn: OleVariant; var pvaOut: OleVariant); overload;DescriptionExecWB lets you use the IOleCommandTarget interface to pass a command to the Web browser control. For more information, see the Microsoft documentation of IOleCommandTarget.cmdID specifies the command to execute. Microsoft provides the following constants. However, the Web Browser does not support all of these commands. Use the QueryStatusWB method to determine what commands can be used.OLECMDID_OPEN OLECMDID_NEW OLECMDID_SAVE
    OLECMDID_SAVEAS OLECMDID_SAVECOPYAS OLECMDID_PRINT
    OLECMDID_PRINTPREVIEW OLECMDID_PAGESETUP OLECMDID_SPELL
    OLECMDID_PROPERTIES OLECMDID_CUT OLECMDID_COPY
    OLECMDID_PASTE OLECMDID_PASTESPECIAL OLECMDID_UNDO
    OLECMDID_REDO OLECMDID_SELECTALL OLECMDID_CLEARSELECTION
    OLECMDID_ZOOM OLECMDID_GETZOOMRANGE OLECMDID_UPDATECOMMANDSOLECMDID_REFRESH OLECMDID_STOP OLECMDID_HIDETOOLBARS
    OLECMDID_SETPROGRESSMAX OLECMDID_SETPROGRESSPOS OLECMDID_SETPROGRESSTEXTOLECMDID_SETTITLE OLECMDID_SETDOWNLOADSTATE OLECMDID_STOPDOWNLOADOLECMDID_FIND OLECMDID_ONTOOLBARACTIVATED OLECMDID_DELETEOLECMDID_HTTPEQUIV OLECMDID_ENABLE_INTERACTION OLECMDID_HTTPEQUIV_DONEOLECMDID_ONUNLOAD OLECMDID_PROPERTYBAG2 OLECMDID_PREREFRESHcmdexecopt modifies how the command is executed. The following table lists the possible values:Constant Value MeaningOLECMDEXECOPT_DODEFAULT 0 Use the default behavior, whether prompting the user for input or not. 
    OLECMDEXECOPT_PROMPTUSER 1 Execute the command after obtaining user input. 
    OLECMDEXECOPT_DONTPROMPTUSER 2 Execute the command without prompting the user.
    OLECMDEXECOPT_SHOWHELP 3 Show help for the command, but do not execute it.pvaIn specifies a Variant array that contains any input arguments. This value can be omitted if there are not input arguments.pvaOut specifies a Variant that receives the results of the command, if any. This value can be omitted if there are no results.
      

  2.   

    msdn library-october 2000--->
    technical Articles--------->
    web Development------------>
    Microsoft internet Exploer----->
    an extended objectmap of ......
    里面有一张表,再参考上面的说明,应该没有问题了。
      

  3.   

    project--->components...
    选择Microsoft Internet Ctrols