可以通过改变窗口过程来拦截消息吧? 在InitDlg时用::SetWindowLong,不处理的消息用::SetWindowLong的返回值处理。LONG SetWindowLong( HWND hWnd, // handle of window int nIndex, // offset of value to set LONG dwNewLong // new value ); nIndex=GWL_WNDPROC dwNewLong = (LONG)yourWndProc 他会返回原来的WNDPORC地址。
To maoxianwang(大大㊣BETAⅡ //楼主,请把分给猪): 大哥,不必那你告诉我具体实现亚! 谢了!
网上不要太多
特别过瘾
你不就是想让鼠标到上面的时候,出现一种浮动的效果
当按下去变成一种效果吗?
在InitDlg时用::SetWindowLong,不处理的消息用::SetWindowLong的返回值处理。LONG SetWindowLong(
HWND hWnd, // handle of window
int nIndex, // offset of value to set
LONG dwNewLong // new value
);
nIndex=GWL_WNDPROC
dwNewLong = (LONG)yourWndProc
他会返回原来的WNDPORC地址。
大哥,不必那你告诉我具体实现亚!
谢了!