DuiLib如何禁用双击标题栏窗口最大化?其实很简单,禁用的方法如下面所示:
1 LRESULT CLoginWin::HandleMessage(UINT uMsg,WPARAM wParam,LPARAM lParam) 2 { 3 if(WM_NCLBUTTONDBLCLK != uMsg) 4 { 5 return WindowImplBase::HandleMessage(uMsg,wParam,lParam); 6 } 7 8 return 0; 9 }
DuiLib如何禁用双击标题栏窗口最大化?其实很简单,禁用的方法如下面所示:
1 LRESULT CLoginWin::HandleMessage(UINT uMsg,WPARAM wParam,LPARAM lParam) 2 { 3 if(WM_NCLBUTTONDBLCLK != uMsg) 4 { 5 return WindowImplBase::HandleMessage(uMsg,wParam,lParam); 6 } 7 8 return 0; 9 }
转载于:https://www.cnblogs.com/hwm520hlf1314/p/3518517.html
>