Fires to request that the client window size is converted to the host window size.
void ClientToHostWindow( long *CX, long *CY );
- [in, out] A pointer to a long integer that receives and specifies the width of the client window.
- [in, out] A pointer to a long integer that receives and specifies the height of the client window.
No return value.
The DISPID for this event is defined in exdispid.h. Use this value to identify the event handler when implementing IDispatch::Invoke.
The ClientToHostWindow event enables the host application to adjust the size of the WebBrowser control window that allows for user interface items such as a toolbar, menu bar, or address bar.
This event is fired when a new window is opened through scripting, using the open method.
This event is available only to an application that is hosting the WebBrowser control installed by Microsoft Internet Explorer 5.5 and later.