MSDN[
^] says:
"By default, the size and location of the main frame is loaded from the registry together with other application settings."
This means that
EnableLoadWindowPlacement(TRUE);
is redundant as it is the default option.
It also says:
"[The load] occurs during CWinAppEx::LoadState."
The means you need to call
LoadState
. Because there is no mention of
ReloadWindowPlacement
it is implied that they are incompatible.
If you then read the page for
ReloadWindowPlacement[
^] it says:
"Use the function CWinAppEx::StoreWindowPlacement to write the size and location of a window to the registry."
You are using 2 separate methods to save and load, which seem to save/load the data in separate registry locations/keys or formats.
Pick 1.