实现方法:1.定义自己的控件类比如CButtonEx:public CButton实现自绘2.安装WH_CALLWNDPROC钩子a.定义HHOOK全局变量HHOOK g_WndProcHook=NULLb.在CXXAPP ::InitInstance()中安装钩子g_WndProcHook=SetWindowsHookEx(??????? WH_CALLWNDPROC??????? (HO