IPXV_MainFrame::GetLastWndState Method
From PDF XChange PDF SDK
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.