Getting the size of a minimized window

前端 未结 2 1405
小鲜肉
小鲜肉 2021-01-14 16:21

I never knew this, but apparently:

By default, the system reduces a minimized window to the size of its taskbar button and moves the minimized w

2条回答
  •  旧时难觅i
    2021-01-14 17:01

    Handle WM_SIZE message. If wParam is not SIZE_MAXIMIZED or SIZE_MINIMIZED, keep window size and position in some varibles. Use these variables when window is closed.

提交回复
热议问题