Kayle Kayle - 1 year ago 61
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.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download