error C2440: 'static_cast' : cannot convert from 'void (__thiscall CMainFrame::* )(void)' to ...

NoSuchKey