From daca74abed6789c659d1c4bb5781fbc93189ed04 Mon Sep 17 00:00:00 2001 From: zeljko Date: Mon, 28 Oct 2013 08:32:52 +0000 Subject: [PATCH] Qt: implemented SWP_SHOWWINDOW and SWP_HIDEWINDOW in TQtWidgetSet.SetWindowPos. git-svn-id: trunk@43333 - --- lcl/interfaces/qt/qtwinapi.inc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lcl/interfaces/qt/qtwinapi.inc b/lcl/interfaces/qt/qtwinapi.inc index a05a21fba3..6a3dea2cd2 100644 --- a/lcl/interfaces/qt/qtwinapi.inc +++ b/lcl/interfaces/qt/qtwinapi.inc @@ -5999,6 +5999,12 @@ begin if (SWP_NOSIZE and uFlags) = 0 then TQtWidget(Hwnd).resize(CX, CY); + if (SWP_SHOWWINDOW and uFlags) <> 0 then + TQtWidget(Hwnd).Show; + + if (SWP_HIDEWINDOW and uFlags) <> 0 then + TQtWidget(Hwnd).Hide; + if (SWP_NOZORDER and uFlags) = 0 then begin case hWndInsertAfter of