WM_NCLBUTTONDBLCLK
当用户用鼠标左键双击非客户区域时发出此消息。
WM_NCLBUTTONDBLCLK
nHittest = (INT) wParam;
// hit-test value
pts = MAKEPOINTS(lParam);
// position of cursor
Parameters
nHittest
Value of wParam. Specifies the hit-test value returned by the DefWindowProc function as a result of processing the WM_NCHITTEST message. For a list of hit-test values, see WM_NCHITTEST.
其中:nHittest = HTCAPTION 表示在标题栏
pts
Value of lParam. Specifies aPOINTS structure that contains the x- and y-coordinates of the cursor. The coordinates are relative to the upper-left corner of the screen.
Return Values
If an application processes this message, it should return zero.