IPXV_MainFrame::GetLastWndState Method
From PDF XChange PDF SDK
m (Automatic page editing by robot) |
|||
(One intermediate revision by one other user not shown) | |||
Line 3: | Line 3: | ||
{{#customTitle:IPXV_MainFrame::GetLastWndState Method}} | {{#customTitle:IPXV_MainFrame::GetLastWndState Method}} | ||
{{#parentPage:PXV:IPXV_MainFrame#Methods|GetLastWndState|method}} | {{#parentPage:PXV:IPXV_MainFrame#Methods|GetLastWndState|method}} | ||
− | |||
{{ToReview}} | {{ToReview}} | ||
− | + | Gets main frame's last window state. | |
== Syntax == | == Syntax == | ||
− | <pre class="brush:cpp;gutter:false">HRESULT GetLastWndState([out] RECT* | + | <pre class="brush:cpp;gutter:false">HRESULT GetLastWndState([out] RECT* stRect, |
− | [out] RECT* | + | [out] RECT* stRestoredRect, |
− | [out] LONG* | + | [out] LONG* nStyle);</pre> |
== Parameters == | == Parameters == | ||
− | ; | + | ;stRect |
− | :[out] Pointer to RECT. | + | :[out] Pointer to RECT containing the frame's rectangle coordinates. |
− | ; | + | ;stRestoredRect |
− | :[out] Pointer to RECT. | + | :[out] Pointer to RECT containing the frame's restored rectangle coordinates. |
− | ; | + | ;nStyle |
− | :[out] Pointer to LONG. | + | :[out] Pointer to LONG containing the window's style (maximized, minimized, etc). |
== Return Value == | == Return Value == |
Latest revision as of 06:02, 11 April 2016
Gets main frame's last window state.
Syntax
HRESULT GetLastWndState([out] RECT* stRect, [out] RECT* stRestoredRect, [out] LONG* nStyle);
Parameters
- stRect
- [out] Pointer to RECT containing the frame's rectangle coordinates.
- stRestoredRect
- [out] Pointer to RECT containing the frame's restored rectangle coordinates.
- nStyle
- [out] Pointer to LONG containing the window's style (maximized, minimized, etc).
Return Value
Returns S_OK if operation was successful or error code in other cases.