diff options
author | stanton <stanton@noemail.net> | 1998-08-05 18:20:07 (GMT) |
---|---|---|
committer | stanton <stanton@noemail.net> | 1998-08-05 18:20:07 (GMT) |
commit | f6216031dd20d0e57cb1a2632ab04bc105a8090a (patch) | |
tree | 974d2475576aa3695c24a9db2a4a245756cd6a83 /win/tkWinWindow.c | |
parent | 68f488689046f5be7f360861a6cb4cb9a84e12a8 (diff) | |
download | tk-f6216031dd20d0e57cb1a2632ab04bc105a8090a.zip tk-f6216031dd20d0e57cb1a2632ab04bc105a8090a.tar.gz tk-f6216031dd20d0e57cb1a2632ab04bc105a8090a.tar.bz2 |
Reduced message traffic by setting WS_EX_NOPARENTNOTIFY on TkChild windows.
FossilOrigin-Name: 3025fbceee54a40d8fd574ad7587e27ba8f0d711
Diffstat (limited to 'win/tkWinWindow.c')
-rw-r--r-- | win/tkWinWindow.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/win/tkWinWindow.c b/win/tkWinWindow.c index dbac589..9f2bcfc 100644 --- a/win/tkWinWindow.c +++ b/win/tkWinWindow.c @@ -261,9 +261,9 @@ TkpMakeWindow(winPtr, parent) * stacking order. */ - hwnd = CreateWindow(TK_WIN_CHILD_CLASS_NAME, NULL, style, - Tk_X(winPtr), Tk_Y(winPtr), Tk_Width(winPtr), Tk_Height(winPtr), - parentWin, NULL, Tk_GetHINSTANCE(), NULL); + hwnd = CreateWindowEx(WS_EX_NOPARENTNOTIFY, TK_WIN_CHILD_CLASS_NAME, NULL, + style, Tk_X(winPtr), Tk_Y(winPtr), Tk_Width(winPtr), + Tk_Height(winPtr), parentWin, NULL, Tk_GetHINSTANCE(), NULL); SetWindowPos(hwnd, HWND_TOP, 0, 0, 0, 0, SWP_NOACTIVATE | SWP_NOMOVE | SWP_NOSIZE); return Tk_AttachHWND((Tk_Window)winPtr, hwnd); |