The WM_NCHITTEST message is sent to your window in order determine what part of the window corresponds to a particular point. 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. for example, if you return HTLEFT, then DefWindowProc will show the IDC_SIZEWE cursor.
Tidak ada komentar:
Posting Komentar