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
62c610df
Commit
62c610df
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: Collapse some handlers call in winproc.
parent
fc43895f
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
18 deletions
+11
-18
listview.c
dlls/comctl32/listview.c
+11
-18
No files found.
dlls/comctl32/listview.c
View file @
62c610df
...
...
@@ -10930,10 +10930,8 @@ LISTVIEW_WindowProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
return
FALSE
;
case
LVM_GETITEMA
:
return
LISTVIEW_GetItemExtT
(
infoPtr
,
(
LPLVITEMW
)
lParam
,
FALSE
);
case
LVM_GETITEMW
:
return
LISTVIEW_GetItemExtT
(
infoPtr
,
(
LPLVITEMW
)
lParam
,
TRUE
);
return
LISTVIEW_GetItemExtT
(
infoPtr
,
(
LPLVITEMW
)
lParam
,
uMsg
==
LVM_GETITEMW
);
case
LVM_GETITEMCOUNT
:
return
infoPtr
->
nItemCount
;
...
...
@@ -10951,10 +10949,9 @@ LISTVIEW_WindowProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
return
LISTVIEW_GetItemState
(
infoPtr
,
(
INT
)
wParam
,
(
UINT
)
lParam
);
case
LVM_GETITEMTEXTA
:
return
LISTVIEW_GetItemTextT
(
infoPtr
,
(
INT
)
wParam
,
(
LPLVITEMW
)
lParam
,
FALSE
);
case
LVM_GETITEMTEXTW
:
return
LISTVIEW_GetItemTextT
(
infoPtr
,
(
INT
)
wParam
,
(
LPLVITEMW
)
lParam
,
TRUE
);
return
LISTVIEW_GetItemTextT
(
infoPtr
,
(
INT
)
wParam
,
(
LPLVITEMW
)
lParam
,
uMsg
==
LVM_GETITEMTEXTW
);
case
LVM_GETNEXTITEM
:
return
LISTVIEW_GetNextItem
(
infoPtr
,
(
INT
)
wParam
,
LOWORD
(
lParam
));
...
...
@@ -10981,10 +10978,9 @@ LISTVIEW_WindowProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
return
infoPtr
->
nSelectionMark
;
case
LVM_GETSTRINGWIDTHA
:
return
LISTVIEW_GetStringWidthT
(
infoPtr
,
(
LPCWSTR
)
lParam
,
FALSE
);
case
LVM_GETSTRINGWIDTHW
:
return
LISTVIEW_GetStringWidthT
(
infoPtr
,
(
LPCWSTR
)
lParam
,
TRUE
);
return
LISTVIEW_GetStringWidthT
(
infoPtr
,
(
LPCWSTR
)
lParam
,
uMsg
==
LVM_GETSTRINGWIDTHW
);
case
LVM_GETSUBITEMRECT
:
return
LISTVIEW_GetSubItemRect
(
infoPtr
,
(
UINT
)
wParam
,
(
LPRECT
)
lParam
);
...
...
@@ -11026,10 +11022,9 @@ LISTVIEW_WindowProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
return
LISTVIEW_HitTest
(
infoPtr
,
(
LPLVHITTESTINFO
)
lParam
,
FALSE
,
TRUE
);
case
LVM_INSERTCOLUMNA
:
return
LISTVIEW_InsertColumnT
(
infoPtr
,
(
INT
)
wParam
,
(
LPLVCOLUMNW
)
lParam
,
FALSE
);
case
LVM_INSERTCOLUMNW
:
return
LISTVIEW_InsertColumnT
(
infoPtr
,
(
INT
)
wParam
,
(
LPLVCOLUMNW
)
lParam
,
TRUE
);
return
LISTVIEW_InsertColumnT
(
infoPtr
,
(
INT
)
wParam
,
(
LPLVCOLUMNW
)
lParam
,
uMsg
==
LVM_INSERTCOLUMNW
);
/* case LVM_INSERTGROUP: */
...
...
@@ -11076,10 +11071,9 @@ LISTVIEW_WindowProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
return
TRUE
;
case
LVM_SETCOLUMNA
:
return
LISTVIEW_SetColumnT
(
infoPtr
,
(
INT
)
wParam
,
(
LPLVCOLUMNW
)
lParam
,
FALSE
);
case
LVM_SETCOLUMNW
:
return
LISTVIEW_SetColumnT
(
infoPtr
,
(
INT
)
wParam
,
(
LPLVCOLUMNW
)
lParam
,
TRUE
);
return
LISTVIEW_SetColumnT
(
infoPtr
,
(
INT
)
wParam
,
(
LPLVCOLUMNW
)
lParam
,
uMsg
==
LVM_SETCOLUMNW
);
case
LVM_SETCOLUMNORDERARRAY
:
return
LISTVIEW_SetColumnOrderArray
(
infoPtr
,
(
INT
)
wParam
,
(
LPINT
)
lParam
);
...
...
@@ -11142,10 +11136,9 @@ LISTVIEW_WindowProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
return
LISTVIEW_SetItemState
(
infoPtr
,
(
INT
)
wParam
,
(
LPLVITEMW
)
lParam
);
case
LVM_SETITEMTEXTA
:
return
LISTVIEW_SetItemTextT
(
infoPtr
,
(
INT
)
wParam
,
(
LPLVITEMW
)
lParam
,
FALSE
);
case
LVM_SETITEMTEXTW
:
return
LISTVIEW_SetItemTextT
(
infoPtr
,
(
INT
)
wParam
,
(
LPLVITEMW
)
lParam
,
TRUE
);
return
LISTVIEW_SetItemTextT
(
infoPtr
,
(
INT
)
wParam
,
(
LPLVITEMW
)
lParam
,
uMsg
==
LVM_SETITEMTEXTW
);
/* case LVM_SETOUTLINECOLOR: */
...
...
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