16,548
社区成员




CRect rec;
CWnd::GetClientRect(&rec);
HWND hWnd = ::FindWindow(NULL, _T("计算器"));
::SetWindowPos(hWnd, NULL, 0,0,0,0,SWP_NOMOVE|SWP_NOZORDER|SWP_NOSIZE|SWP_FRAMECHANGED);
::SetParent(hWnd, this->GetSafeHwnd());
::SetWindowPos(hWnd, NULL, 0, 0, rec.Width(), rec.Height(), SWP_NOZORDER);