描述
Fires to indicate that a file download is about to occur. If a file download dialog is to be displayed, this event is fired prior to the display of the dialog.
语法
SUB FileDownload ( _ BYVAL hwndContainer AS HWND, _ BYVAL pbCancel AS VARIANT_BOOL PTR _ ) |
参数
hwndContainer |
[in]处理的OLE容器窗口. |
pbCancel |
[in, out] Boolean值,指定是否要继续下载过程并显示下载对话框. VARIANT_FALSE Default. Continue with the download process and display download dialog. VARIANT_TRUE Cancel the download process. |
返回值
无返回值.
DISPID 事件
DISPID_FILEDOWNLOAD
The DISPID for this event is defined in exdispid.inc. Use this value to identify the event handler when implementing the Invoke method of the IDispatch interface.
备注
此事件允许在文件下载期间采取其他操作.
引用文件
CWebBrowserEventsImpl.inc