Avoid saving window position

  • Thread starter Thread starter flaviu_
  • Start date Start date
F

flaviu_

Guest
I have a MDI app. Let say it is maximized. Then, I put it in hidden mode and I show an icon in system tray. And I exit the app from system tray menu, when the app is not visible. How can I tell to app to not saving the window position in this case ?

I have tried to setup CWinAppEx::m_bSaveState to FALSE in this case, but seem to not working.

How can I stop saving window placement into a MDI app ?

As you noticed, at normal using, the main frame app is storing and restoring the window position. But when the app is in hidden mode, how can avoid storing window position in registry ?

Continue reading...
 
Back
Top