Minggu, 20 Februari 2011
WM_NCHITTEST is for hit-testing, and hit-testing can happen for reasons other than the mouse being over your window
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.
Langganan:
Posting Komentar (Atom)
Tidak ada komentar:
Posting Komentar