HWND转换CWnd*

CWnd *pWnd = CWnd::FromHandle(GetDlgItem(hWnd,ID));
m_Camerapwnd = pWnd;

你可能感兴趣的:(HWND转换CWnd*)