diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2017-04-22 08:44:40 +0200 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2017-04-22 08:44:40 +0200 |
commit | d4e2178776342e046886f9426d752fa6a7808350 (patch) | |
tree | 0870e95a771582cc207ffd0263a9d24adc1eaeb5 /plugingui | |
parent | 6e2b4f4bdd36844721f50b71d0cbc159363ba25f (diff) |
Win32: Only show window initially if is is an embedded window.
Diffstat (limited to 'plugingui')
-rw-r--r-- | plugingui/nativewindow_win32.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/plugingui/nativewindow_win32.cc b/plugingui/nativewindow_win32.cc index f0c003d..c5e8469 100644 --- a/plugingui/nativewindow_win32.cc +++ b/plugingui/nativewindow_win32.cc @@ -367,7 +367,8 @@ NativeWindowWin32::NativeWindowWin32(void* native_window, Window& window) m_hwnd = CreateWindowEx(0/*ex_style*/, m_className, "DGBasisWidget", - (native_window?WS_CHILD:WS_OVERLAPPEDWINDOW) | WS_VISIBLE, + (native_window?WS_CHILD:WS_OVERLAPPEDWINDOW) | + (native_window?WS_VISIBLE:0), 0, 0, //window.x(), window.y(), 1, 1, //window.width(), window.height(), parent_window, nullptr, |