PC微信增加按钮系windows窗口消息接管开源。
.判断 (uMsg = #WM_SIZE)
GetWindowRect (G_hwnd, rect)
窗口2.宽度 = rect.右边 - rect.左边 - 60
窗口2.高度 = rect.底边 - rect.顶边 - 20
.判断 (uMsg = #WM_LBUTTONUP)
集_按下 = 假
.判断 (uMsg = #WM_MOUSEMOVE)
.如果真 (集_按下)
x = 取低位 (lParam)
y = 取高位 (lParam)
ReleaseCapture ()
PostMessageA (hwnd, 161, 2, 0) ' WM_NCLBUTTONDOWN