您的位置:首页 > 其它

Silent Mode

2016-04-11 14:01 375 查看
IWebBrowser2::Silent Property

Sets or gets a value that indicates whether the object can display dialog boxes.

Syntax
Copy
HRESULT IWebBrowser2::get_Silent(VARIANT_BOOL *pbSilent);HRESULT IWebBrowser2::put_Silent(VARIANT_BOOL bSilent);
Parameters pbSilent

Pointer to a variable of type VARIANT_BOOL that receives one of the values listed in Possible Values.

bSilent

VARIANT_BOOL that specifies one of the values listed in Possible Values.

Possible Values VARIANT_FALSE : Default. Dialog boxes and messages can be displayed. Critical errors and security alerts are not suppressed.VARIANT_TRUE: Dialog boxes are not displayed.

Return Value
Returns S_OK if successful, or an error value otherwise.
Remarks The WebBrowser object delegates this method to the top-level frame. If no frame exists, it returns E_FAIL.
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: