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
a729e040
Commit
a729e040
authored
Nov 26, 2009
by
Nikolay Sivov
Committed by
Alexandre Julliard
Nov 30, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comctl32/listview: Further winproc simplification.
parent
60f0f4e8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
16 deletions
+10
-16
listview.c
dlls/comctl32/listview.c
+10
-16
No files found.
dlls/comctl32/listview.c
View file @
a729e040
...
...
@@ -10766,7 +10766,7 @@ static INT LISTVIEW_StyleChanging(LISTVIEW_INFO *infoPtr, WPARAM wStyleType,
* RETURN:
* Zero
*/
static
LRESULT
LISTVIEW_ShowWindow
(
LISTVIEW_INFO
*
infoPtr
,
BOOL
bShown
,
INT
iStatus
)
static
LRESULT
LISTVIEW_ShowWindow
(
LISTVIEW_INFO
*
infoPtr
,
WPARAM
bShown
,
LPARAM
iStatus
)
{
/* header delayed creation */
if
((
infoPtr
->
uView
==
LV_VIEW_DETAILS
)
&&
bShown
)
...
...
@@ -10777,7 +10777,7 @@ static LRESULT LISTVIEW_ShowWindow(LISTVIEW_INFO *infoPtr, BOOL bShown, INT iSta
ShowWindow
(
infoPtr
->
hwndHeader
,
SW_SHOWNORMAL
);
}
return
0
;
return
DefWindowProcW
(
infoPtr
->
hwndSelf
,
WM_SHOWWINDOW
,
bShown
,
iStatus
)
;
}
/***
...
...
@@ -10859,12 +10859,10 @@ LISTVIEW_WindowProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
case
LVM_DELETEITEM
:
return
LISTVIEW_DeleteItem
(
infoPtr
,
(
INT
)
wParam
);
case
LVM_EDITLABELW
:
return
(
LRESULT
)
LISTVIEW_EditLabelT
(
infoPtr
,
(
INT
)
wParam
,
TRUE
);
case
LVM_EDITLABELA
:
return
(
LRESULT
)
LISTVIEW_EditLabelT
(
infoPtr
,
(
INT
)
wParam
,
FALSE
);
case
LVM_EDITLABELW
:
return
(
LRESULT
)
LISTVIEW_EditLabelT
(
infoPtr
,
(
INT
)
wParam
,
uMsg
==
LVM_EDITLABELW
);
/* case LVM_ENABLEGROUPVIEW: */
case
LVM_ENSUREVISIBLE
:
...
...
@@ -10885,10 +10883,9 @@ LISTVIEW_WindowProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
return
infoPtr
->
uCallbackMask
;
case
LVM_GETCOLUMNA
:
return
LISTVIEW_GetColumnT
(
infoPtr
,
(
INT
)
wParam
,
(
LPLVCOLUMNW
)
lParam
,
FALSE
);
case
LVM_GETCOLUMNW
:
return
LISTVIEW_GetColumnT
(
infoPtr
,
(
INT
)
wParam
,
(
LPLVCOLUMNW
)
lParam
,
TRUE
);
return
LISTVIEW_GetColumnT
(
infoPtr
,
(
INT
)
wParam
,
(
LPLVCOLUMNW
)
lParam
,
uMsg
==
LVM_GETCOLUMNW
);
case
LVM_GETCOLUMNORDERARRAY
:
return
LISTVIEW_GetColumnOrderArray
(
infoPtr
,
(
INT
)
wParam
,
(
LPINT
)
lParam
);
...
...
@@ -11178,11 +11175,9 @@ LISTVIEW_WindowProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
/* case LVM_SORTGROUPS: */
case
LVM_SORTITEMS
:
return
LISTVIEW_SortItems
(
infoPtr
,
(
PFNLVCOMPARE
)
lParam
,
(
LPARAM
)
wParam
,
FALSE
);
case
LVM_SORTITEMSEX
:
return
LISTVIEW_SortItems
(
infoPtr
,
(
PFNLVCOMPARE
)
lParam
,
(
LPARAM
)
wParam
,
TRUE
);
return
LISTVIEW_SortItems
(
infoPtr
,
(
PFNLVCOMPARE
)
lParam
,
(
LPARAM
)
wParam
,
uMsg
==
LVM_SORTITEMSEX
);
case
LVM_SUBITEMHITTEST
:
return
LISTVIEW_HitTest
(
infoPtr
,
(
LPLVHITTESTINFO
)
lParam
,
TRUE
,
FALSE
);
...
...
@@ -11288,8 +11283,7 @@ LISTVIEW_WindowProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
return
LISTVIEW_SetRedraw
(
infoPtr
,
(
BOOL
)
wParam
);
case
WM_SHOWWINDOW
:
LISTVIEW_ShowWindow
(
infoPtr
,
(
BOOL
)
wParam
,
(
INT
)
lParam
);
return
DefWindowProcW
(
hwnd
,
uMsg
,
wParam
,
lParam
);
return
LISTVIEW_ShowWindow
(
infoPtr
,
wParam
,
lParam
);
case
WM_SIZE
:
return
LISTVIEW_Size
(
infoPtr
,
(
short
)
LOWORD
(
lParam
),
(
short
)
HIWORD
(
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