Kayle Kayle - 9 months ago 28
C++ Question

Get "Can Window Be Resized"?

I looked around the documents for WinAPI and stackoverflow and all I could find for pulling window information was

which does not include whether the window is resizable or not. All I'm looking for is the boolean value of whether or not the window has resizable borders.

Answer Source

You can generally infer this from the border style, which is part of the dwStyle member of the WINDOWINFO struct. For example, windows with a style WS_THICKFRAME can be resized.