Scrollbars part 10 – Towards a deeper understanding of the WM_NCCALCSIZE message
When your window is resized, Windows uses the message to determine where your window's client area lives inside your window rectangle. There are two forms of the message. The simple form merely takes a window rectangle and returns a client rectangle. This is useful for resizing a window to h...