IPXV_MainFrame::GetLastWndState Method

From PDF XChange PDF SDK
Jump to: navigation, search
m (Automatic page editing by robot)
 
(6 intermediate revisions by one other user not shown)
Line 2: Line 2:
 
[[Category:Editor]]
 
[[Category:Editor]]
 
{{#customTitle:IPXV_MainFrame::GetLastWndState Method}}
 
{{#customTitle:IPXV_MainFrame::GetLastWndState Method}}
{{#parentPage:PXV:IPXV_MainFrame|GetLastWndState Method|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,
+
<pre class="brush:cpp;gutter:false">HRESULT GetLastWndState([out]  RECT*  stRect,
                         [out]  RECT*  pRestoredRect,
+
                         [out]  RECT*  stRestoredRect,
                         [out]  LONG*  pStyle);</pre>
+
                         [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 25: Line 24:
  
 
== 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