win32
逆水寒_
我是一只小兵
展开
-
CToolTipCtrl 两种用法
BOOL AddTool( CWnd* pWnd, UINT nIDText, LPCRECT lpRectTool = NULL, UINT nIDTool = 0 ); BOOL AddTool( CWnd* pWnd, LPCTSTR lpszText = LPSTR_TEXTCALLBACK, LPCRECT lpRectTool = NULL, UINT nID原创 2017-04-19 22:21:04 · 266 阅读 · 0 评论 -
SetCursor 有关记录
原贴地址———–OnSetCursor由消息 WM_SETCURSOR 触发 The WM_SETCURSOR message is sent to a window if the mouse causes the cursor to move within a window and mouse input is not captured.看清楚了,只要鼠标移动OnMouseMOve就会自动发送转载 2017-04-17 09:22:28 · 590 阅读 · 0 评论 -
RegisterClassEx 函数阻塞现象
注册窗口类是,WNDCLASSEX 结构体属性 lpszMenuName 如果不指定,那么,RegisterClassEx 就会卡死,不返回true也不返回false。。。。 主要是因为 在底层会对这个 lpszMenuName进行拷贝,然后由于没有指定,所以这个指正不知道指向什么地方,然后底层拷贝时就不会遇到 /0 结束符 然后后就不返回、阻塞在那, 估计如果lpszClassNa原创 2017-05-07 18:40:34 · 664 阅读 · 0 评论