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
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.
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.
相关文章推荐
- Guestbook Redis例子(Docker,Kubernetes)
- 登录windows azure及管理门户介绍
- Android设备唯一标识符ID
- poj2406——Power Strings(KMP循环节)
- android:scaleType属性
- CUDA中Bank conflict冲突
- 一道关于OO面试题
- Mysql 5.6 ONLINE_DDL
- 发布的QT程序无法显示图标和图片的问题
- PowerDesinger逆向数据库物理模型及关系图
- 从AdventureWorks学习数据库建模——实体分析
- 对象的继承关系在数据库中的实现方式和PowerDesigner设计
- 作业三:代码规范,代码复查。
- Eclipse使用用户自定义类库
- bootstrap起步文件
- lua调试?自带的调试库?zerobrane studio?
- android的adb详解(多设备时adb调用)
- Objective-C 之Runtime消息机制
- Could not load NIB in bundle: 'NSBundle <xxx> (loaded)' with name ''xxx''
- 一些有用的小插件