Important: |
---|
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist. |
Returns the normal restored window dimensions.
HRESULT GetRestorePosition( long * pLeft, long * pTop, long * pWidth, long * pHeight );
Parameters
Return Values
Returns an HRESULTvalue.
Remarks
When the window is maximized or minimized, the window position methods return the actual window size. This method returns the dimensions that the window would be when restored. It is useful for applications that want to save a window state while the window is maximized or minimized.