void init_connect::OnLButtonDown(UINT nFlags, CPoint point)
{
// TODO: 在此添加消息處理程式代碼和/或調用預設值
CDialogEx::OnLButtonDown(nFlags, point);
if (point.y < 34) //判斷是否在視窗的頂部
{
SendMessage(WM_SYSCOMMAND, 0xF012, MAKELPARAM(point.x, point.y));
}
}
void init_connect::OnLButtonDown(UINT nFlags, CPoint point)
{
// TODO: 在此添加消息處理程式代碼和/或調用預設值
CDialogEx::OnLButtonDown(nFlags, point);
if (point.y < 34) //判斷是否在視窗的頂部
{
SendMessage(WM_SYSCOMMAND, 0xF012, MAKELPARAM(point.x, point.y));
}
}