The WM_NCHITTEST message is sent to your window
in order determine what part of the window corresponds to a
The most common reason for this is that
the mouse is over your window.
The default WM_SETCURSOR handler
uses the result of WM_NCHITTEST
to figure out what type of cursor to show.