MFC: _AFXWIN_INLINE give me “no overloaded function takes 6 arguments”
问题 In an MFC application I am trying to move a console window I have added for debug purposes. /* Put here just for reference _AFXWIN_INLINE void CWnd::MoveWindow(LPCRECT lpRect, BOOL bRepaint) { MoveWindow(lpRect->left, lpRect->top, lpRect->right - lpRect->left, lpRect->bottom - lpRect->top, bRepaint); } */ HANDLE hh; bool oo = CWnd::MoveWindow( hh, 100, 0, 300, 300, true ); I get this error: Error C2661 'CWnd::MoveWindow': no overloaded function takes 6 arguments G:\proj\repos\EnterDG