15,979
社区成员
发帖
与我相关
我的任务
分享
CWnd* pWnd = this->GetDlgItem(IDC_STATIC_1);
assert(pWnd);
RECT wndRect;
pWnd->GetWindowRect(&wndRect);
_dlgSetFont.Create(IDD_DLG_SET_FONT, NULL);
_dlgSetFont.SetWindowPos(&wndTop, wndRect.left, wndRect.top,
wndRect.right - wndRect.left, wndRect.bottom - wndRect.top, SWP_NOZORDER | SWP_SHOWWINDOW);
_dlgSetFont.ShowWindow(SW_SHOW);