Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
e9e09b66
Commit
e9e09b66
authored
Nov 12, 2012
by
Daniel Jelinski
Committed by
Alexandre Julliard
Nov 13, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comctl32: Move WM_SIZE handling into WM_WINDOWPOSCHANGED.
parent
44423f91
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
9 deletions
+7
-9
listview.c
dlls/comctl32/listview.c
+7
-9
No files found.
dlls/comctl32/listview.c
View file @
e9e09b66
...
...
@@ -11584,9 +11584,6 @@ LISTVIEW_WindowProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
case
WM_SHOWWINDOW
:
return
LISTVIEW_ShowWindow
(
infoPtr
,
wParam
,
lParam
);
case
WM_SIZE
:
return
LISTVIEW_Size
(
infoPtr
,
(
short
)
LOWORD
(
lParam
),
(
short
)
HIWORD
(
lParam
));
case
WM_STYLECHANGED
:
return
LISTVIEW_StyleChanged
(
infoPtr
,
wParam
,
(
LPSTYLESTRUCT
)
lParam
);
...
...
@@ -11612,13 +11609,14 @@ LISTVIEW_WindowProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
case
WM_WINDOWPOSCHANGED
:
if
(
!
(((
WINDOWPOS
*
)
lParam
)
->
flags
&
SWP_NOSIZE
))
{
SetWindowPos
(
infoPtr
->
hwndSelf
,
0
,
0
,
0
,
0
,
0
,
SWP_FRAMECHANGED
|
SWP_NOACTIVATE
|
SWP_NOZORDER
|
SWP_NOMOVE
|
SWP_NOSIZE
);
SetWindowPos
(
infoPtr
->
hwndSelf
,
0
,
0
,
0
,
0
,
0
,
SWP_FRAMECHANGED
|
SWP_NOACTIVATE
|
SWP_NOZORDER
|
SWP_NOMOVE
|
SWP_NOSIZE
);
if
((
infoPtr
->
dwStyle
&
LVS_OWNERDRAWFIXED
)
&&
(
infoPtr
->
uView
==
LV_VIEW_DETAILS
))
{
if
(
notify_measureitem
(
infoPtr
))
LISTVIEW_InvalidateList
(
infoPtr
);
}
if
((
infoPtr
->
dwStyle
&
LVS_OWNERDRAWFIXED
)
&&
(
infoPtr
->
uView
==
LV_VIEW_DETAILS
))
{
if
(
notify_measureitem
(
infoPtr
))
LISTVIEW_InvalidateList
(
infoPtr
);
}
LISTVIEW_Size
(
infoPtr
,
((
WINDOWPOS
*
)
lParam
)
->
cx
,
((
WINDOWPOS
*
)
lParam
)
->
cy
);
}
return
DefWindowProcW
(
hwnd
,
uMsg
,
wParam
,
lParam
);
...
...
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