-3
나는 간단한 비디오 플레이어가 있습니다.Wnt CWindowImpl은 CWnd와 호환됩니까?
https://github.com/sailfish009/sample_video
는 지금은 포트에 윈도우 템플릿 라이브러리 9.1로합니다.
편집 : CWndowImpl의 CWnd 's와 호환되는 처리기가 해결되었습니다.
//screen = SDL_CreateWindowFrom(this->m_hWnd); //HWND from CWnd previous working code
screen = SDL_CreateWindowFrom(m_hWndClient); //HWND from CWindowImpl
해결! 나는 폭과 높이를 잘못 설정했다. CWindowImpl 및 CWnd의 HWND는 정확히 동일합니다. – sailfish009