摘要: 1、获取鼠标位置(在屏幕的位置) CPoint m_mouse; GetCursorPos(&m_mouse);2、 屏幕转化为客户端(控件的相对位置)& 客户端位置转化为屏幕位置 ClientToScreen(this->m_hwnd,m_mouse); //客户端位置转化为屏幕位置 Sc... 阅读全文
posted @ 2015-12-13 22:52 龚细军 阅读(23151) 评论(6) 推荐(1) 编辑