projects
/
reactos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[Win32SS]
[reactos.git]
/
reactos
/
win32ss
/
user
/
ntuser
/
window.c
diff --git
a/reactos/win32ss/user/ntuser/window.c
b/reactos/win32ss/user/ntuser/window.c
index
d63ec08
..
d04475f
100644
(file)
--- a/
reactos/win32ss/user/ntuser/window.c
+++ b/
reactos/win32ss/user/ntuser/window.c
@@
-3546,6
+3546,11
@@
co_IntSetWindowLong(HWND hWnd, DWORD Index, LONG NewValue, BOOL Ansi, BOOL bAlte
else
Style.styleNew &= ~WS_EX_WINDOWEDGE;
+ if (!(Window->ExStyle & WS_EX_LAYERED))
+ {
+ SetLayeredStatus(Window, 0);
+ }
+
Window->ExStyle = (DWORD)Style.styleNew;
co_IntSendMessage(hWnd, WM_STYLECHANGED, GWL_EXSTYLE, (LPARAM) &Style);