Details
-
Bug
-
Resolution: Out of scope
-
P3: Somewhat important
-
None
-
4.7.0, 5.2.0
-
None
-
Windows 7 64bit.
Qt 5.2.0 MINGW
Description
First I create a QMdiSubWindow In QMdiArea, and set it as a native window, the codes may be look like those:
QMdiArea *pMdiArea = new QMdiArea();
layout->AddWidget(pMdiArea);
QMdiSubWindow *pWindow = new QMdiSubWindow();
pWindow->setAttribute(Qt::WA_NativeWindow);
pMidArea->AddSubWindow(pWindow);
pWindow->showMaximized();
Second, I got the HANDLE of QMdiSubWindow by spy++ and run the follow Windows API code:
SetWindowPos(handle, NULL, 0, 0, 200, 200, 0x2);
The Size of QMdiSubWindow did not changed.But the size got by Windows API (GetWindowPos)has been changed!
Attachments
Issue Links
- replaces
-
QTBUG-37827 Please reopen QTBUG-37682
- Closed