IPXV_MainFrame::GetLastWndState Method

From PDF XChange PDF SDK
Jump to: navigation, search
m (Automatic page editing by robot)
 
(8 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|method}}
+
{{#parentPage:PXV:IPXV_MainFrame#Methods|GetLastWndState|method}}
{{ToWrite}}
+
 
{{ToReview}}
 
{{ToReview}}
  
The method of interface of PDF-XChange Editor SDK.
+
Gets main frame's last window state.
  
 
== Syntax ==
 
== Syntax ==
<pre class="brush:cpp;gutter:false">HRESULT GetLastWndState([out] RECT* pRect, [out] RECT* pRestoredRect, [out] LONG* pStyle);</pre>
+
<pre class="brush:cpp;gutter:false">HRESULT GetLastWndState([out] RECT* stRect,
 +
                        [out] RECT* stRestoredRect,
 +
                        [out] LONG* nStyle);</pre>
  
 
== Parameters ==
 
== Parameters ==
;''pRect''
+
;stRect
:[out]  Pointer to RECT.
+
:[out]  Pointer to RECT containing the frame's rectangle coordinates.
;''pRestoredRect''
+
;stRestoredRect
:[out]  Pointer to RECT.
+
:[out]  Pointer to RECT containing the frame's restored rectangle coordinates.
;''pStyle''
+
;nStyle
:[out]  Pointer to LONG.
+
:[out]  Pointer to LONG containing the window's style (maximized, minimized, etc).
  
 
== Return Value ==
 
== Return Value ==
Line 22: Line 24:
  
 
== See Also ==
 
== See Also ==
See also [[PXV:IPXV_MainFrame|IPXV_MainFrame]].
+
[[PXV:IPXV_MainFrame|IPXV_MainFrame]]

Latest revision as of 07: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.

See Also

IPXV_MainFrame