IExplorerBrowser::SetRect method
Sets the size and position of the view windows created by the browser.
Syntax
HRESULT SetRect( [in, out, unique] HDWP *phdwp, [in] RECT rcBrowser );
Parameters
- phdwp [in, out]
-
Type: HDWP*
A pointer to a DeferWindowPos handle. This parameter can be NULL.
- rcBrowser [in]
-
Type: RECT
The coordinates that the browser will occupy.
Return value
Type: HRESULT
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Remarks
Coordinates are relative to the hwndParent passed in IExplorerBrowser::Initialize.
Requirements
|
Minimum supported client |
Windows Vista [desktop apps only] |
|---|---|
|
Minimum supported server |
Windows Server 2008 [desktop apps only] |
|
Header |
|
|
IDL |
|
Show: