What can I do about maximized, styled windows, which show their borders on adjacent monitors?

后端 未结 2 1788
甜味超标
甜味超标 2020-12-29 05:05

On a multi-monitor system, a \"blank\" VCL application maximizes fine, but the same application with styles enabled (and one chosen as default) maximizes incorrectly. What I

2条回答
  •  暗喜
    暗喜 (楼主)
    2020-12-29 05:30

    The only way i found is to handle WM_SIZE event and modify the window region to chop the extra border.

提交回复
热议问题