GetWindowRect too small on Windows 7

前端 未结 6 1025
灰色年华
灰色年华 2020-11-28 11:41

The actual problem I\'m trying to solve is, I want to automatically find out the size of the margins around windows. If you can find a better way, please by all means answer

6条回答
  •  难免孤独
    2020-11-28 11:52

    DwmGetWindowAttribute

    http://msdn.microsoft.com/en-us/library/aa969515%28VS.85%29.aspx

提交回复
热议问题