aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authornyamatongwe <unknown>2003-01-18 21:34:26 +0000
committernyamatongwe <unknown>2003-01-18 21:34:26 +0000
commit71c7f0e9d285c158f09fd25d5e174280c30d57aa (patch)
tree935af507dc0bc4a00e7f21bb8b5189b06c21f5d3
parent12da249749425bad9256b771ba2116d92db9dd8c (diff)
downloadscintilla-mirror-71c7f0e9d285c158f09fd25d5e174280c30d57aa.tar.gz
Added SWP_NOZORDER to SetWindowPos to avoid fronting windows.
-rw-r--r--win32/PlatWin.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/win32/PlatWin.cxx b/win32/PlatWin.cxx
index 546b278db..a65ff4a9c 100644
--- a/win32/PlatWin.cxx
+++ b/win32/PlatWin.cxx
@@ -722,7 +722,7 @@ PRectangle Window::GetPosition() {
void Window::SetPosition(PRectangle rc) {
::SetWindowPos(reinterpret_cast<HWND>(id),
- 0, rc.left, rc.top, rc.Width(), rc.Height(), 0);
+ 0, rc.left, rc.top, rc.Width(), rc.Height(), SWP_NOZORDER);
}
void Window::SetPositionRelative(PRectangle rc, Window) {