Save and restore Aero Snap position on Windows 7

前端 未结 1 1601
不知归路
不知归路 2020-12-29 10:46

Let\'s say I have a window and I want to save its position when the window closes and restore it when the window is opened again. The typical way to do this is to call GetWi

相关标签:
1条回答
  • The workaround is to call GetWindowRect() to get the actual window coordinates and copy them over the bad coordinates in WINDOWPLACEMENT::rcNormalPosition.

    0 讨论(0)
提交回复
热议问题