WM_SYSCOMMAND top-level constant

int const WM_SYSCOMMAND

A window receives this message when the user chooses a command from the Window menu (formerly known as the system or control menu) or when the user chooses the maximize button, minimize button, restore button, or close button.

Implementation

const WM_SYSCOMMAND = 0x0112;