qt 移动窗口MoveWindow
时间:2020-05-07 18:49:28
收藏:0
阅读:216
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);
原文:https://www.cnblogs.com/ajanuw/p/12844840.html
评论(0)