Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

CWinAppEx::EnableLoadWindowPlacement

Specifies whether the application will load the initial size and location of the main frame window from the registry.

void EnableLoadWindowPlacement(
   BOOL bEnable = TRUE
);
[in] bEnable

Specifies whether the application loads the initial size and location of the main frame window from the registry.

By default, the size and location of the main frame is loaded from the registry together with other application settings. This occurs during CWinAppEx::LoadState. If you do not want to load the initial window placement from the registry, call this method with bEnable set to false.

Header: afxwinappex.h

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.