afx_msg LRESULT OnNcHitTest(
CPoint point
);
说明
当鼠标在窗口中移动(包括客户区和非客户区),或者窗口类使用了SetCapture函数捕获了鼠标的输入,MFC程序会调用此函数.
参数
point
鼠标在以屏幕左上角为原点(0,0)建立的坐标系中的坐标.
返回值
鼠标hit-test枚举值.
鼠标hit-test枚举值
-
HTBORDER In the border of a window that does not have a sizing border.
-
HTBOTTOM In the lower horizontal border of the window.
-
HTBOTTOMLEFT In the lower-left corner of the window border.