触摸屏租赁
Touch screen rental
广告机租赁
Advertising rental
机器人租赁
Robot leasing
 当前位置:首页 > > vx++鼠标左键点击区域响应代码
void CMy11111111Dlg::OnLButtonDown(UINT nFlags, CPoint point)
{
 // TODO: Add your message handler code here and/or call default
 CRect rect(0, 0, 400, 400);
 ScreenToClient(rect);
 if(PtInRect(rect, point))
 {
  AfxMessageBox("Success");
 }

 CDialog::OnLButtonDown(nFlags, point);
}

工作室地址:重庆石桥铺电脑城B座 | 微信:z35544216 | 网址:www.35544216.com