RECT r; GetWindowRect(this->gameHwnd, &r); // 获取窗口的宽度和高度 int nWidth = r.right - r.left; int nHeight = r.bottom - r.top; MoveWindow(this->gameHwnd,0,0,nWidth,nHeight,false);
qt 移动窗口MoveWindow
原文:https://www.cnblogs.com/ajanuw/p/12844840.html