问题:
error C2440: “static_cast”: 无法从“UINT (__thiscall CGameFrame::* )(CPoint)”转换为“LRESULT (__thiscall CWnd::* )(CPoint)”
解决方案:
//.h
afx_msg UINT OnNcHitTest(CPoint Point);
//改为
afx_msg LRESULT OnNcHitTest(CPoint Point);
//.cpp
UINT CGameFrame::OnNcHitTest(CPoint Point)
//改为
LRESULT CGameFrame::OnNcHitTest(CPoint Point)
|
阅读(736) | 评论(0) | 转发(0) |