简体   繁体   English

获取“可以调整窗口大小”吗?

[英]Get “Can Window Be Resized”?

I looked around the documents for WinAPI and stackoverflow and all I could find for pulling window information was WINDOWINFO which does not include whether the window is resizable or not. 我环顾了WinAPI和stackoverflow的文档,发现拉窗信息的全部是WINDOWINFO ,它不包括窗是否可调整大小。 All I'm looking for is the boolean value of whether or not the window has resizable borders. 我所要查找的是窗口是否具有可调整大小的边框的布尔值。

You can generally infer this from the border style, which is part of the dwStyle member of the WINDOWINFO struct. 通常,您可以从边框样式(这是WINDOWINFO结构的dwStyle成员的一部分)中推断出这一点。 For example, windows with a style WS_THICKFRAME can be resized. 例如,可以调整样式为WS_THICKFRAME窗口的大小。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM