IPXV_MainFrame::GetLastWndState Method
From PDF XChange PDF SDK
m (Automatic page editing by robot) |
|||
(7 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
+ | __NOTOC__ | ||
[[Category:Editor]] | [[Category:Editor]] | ||
{{#customTitle:IPXV_MainFrame::GetLastWndState Method}} | {{#customTitle:IPXV_MainFrame::GetLastWndState Method}} | ||
− | {{#parentPage:PXV:IPXV_MainFrame|GetLastWndState | + | {{#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 == | ||
Line 24: | Line 24: | ||
== See Also == | == See Also == | ||
− | + | [[PXV:IPXV_MainFrame|IPXV_MainFrame]] |
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.