编译时候出现如下错
error C2440: 'static_cast' : cannot convert from 'void (__thiscall XXX::* )(void)' to 'void (__thiscall CWnd::* )(UINT_PTR)'
只需要吧对应的事件响应函数声明与实现的部分,函数的参数由UINT改为UINT_PTR即可。
编译时候出现如下错
error C2440: 'static_cast' : cannot convert from 'void (__thiscall XXX::* )(void)' to 'void (__thiscall CWnd::* )(UINT_PTR)'
只需要吧对应的事件响应函数声明与实现的部分,函数的参数由UINT改为UINT_PTR即可。