Where to capture the WM_CLOSE events.

Printable View