IWebBrowser2::ClientToWindow Method
Computes the full size of the browser window when given the specified width and height of the content area.
Syntax
HRESULT ClientToWindow( int *pcx, int *pcy );
Parameters
- pcx
[in, out] Pointer to a variable of type int that specifies the width of the client area. On return, this variable contains the full width required by the browser window.- pcy
[in, out] A pointer to a variable of type int that specifies the height of the client area. On return, this variable contains the full height required by the browser window.
Return Value
Returns S_OK if successful, or an error value otherwise.
Remarks
The WebBrowser object returns an error from this method.
See Also