开发者

Using DwmExtendFrameIntoClientArea causes window to oddly resize

开发者 https://www.devze.com 2022-12-21 07:14 出处:网络
I have an application that uses DwmExtendFrameIntoClientArea to draw a glass effect area at the top of my .NET Form. A str开发者_开发知识库ange side effect is that when you maximize and restore the wi

I have an application that uses DwmExtendFrameIntoClientArea to draw a glass effect area at the top of my .NET Form. A str开发者_开发知识库ange side effect is that when you maximize and restore the window it grows taller. So if you keep maximizing/restoring it just keeps getting taller! Remove the call to DwmExtendFrameIntoClientArea to remove that nice effect and it stops going wrong.

Any ideas?

0

精彩评论

暂无评论...
验证码 换一张
取 消