把后台窗口调至前台显示123456789101112131415// FindWindow取得窗口句柄 CWnd* hwnd = FindWindow(NULL, _T("PSS V4.06")); if (NULL != hwnd) { CRect rect; // 取得窗口大小 hwnd->GetWindowRect(rect); // 显示 hwnd->SetWindowPos(NULL, rect.left, rect.top, rect.right, rect.bottom, TRUE); }