Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
b0fce2a0
Commit
b0fce2a0
authored
Sep 13, 2012
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32: Refresh the frame when the style bits of a layered window are changed.
parent
9f29dcdc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
defwnd.c
dlls/user32/defwnd.c
+10
-0
No files found.
dlls/user32/defwnd.c
View file @
b0fce2a0
...
...
@@ -719,6 +719,16 @@ static LRESULT DEFWND_DefWinProc( HWND hwnd, UINT msg, WPARAM wParam, LPARAM lPa
SendMessageW
(
GetParent
(
hwnd
),
msg
,
wParam
,
lParam
);
break
;
case
WM_STYLECHANGED
:
if
(
wParam
==
GWL_STYLE
&&
(
GetWindowLongW
(
hwnd
,
GWL_EXSTYLE
)
&
WS_EX_LAYERED
))
{
STYLESTRUCT
*
style
=
(
STYLESTRUCT
*
)
lParam
;
if
((
style
->
styleOld
^
style
->
styleNew
)
&
(
WS_CAPTION
|
WS_THICKFRAME
|
WS_VSCROLL
|
WS_HSCROLL
))
SetWindowPos
(
hwnd
,
0
,
0
,
0
,
0
,
0
,
SWP_FRAMECHANGED
|
SWP_NOACTIVATE
|
SWP_NOZORDER
|
SWP_NOSIZE
|
SWP_NOMOVE
|
SWP_NOCLIENTSIZE
|
SWP_NOCLIENTMOVE
);
}
break
;
case
WM_APPCOMMAND
:
{
HWND
parent
=
GetParent
(
hwnd
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment