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
442dd754
Commit
442dd754
authored
May 11, 2003
by
Stephan Beuze
Committed by
Alexandre Julliard
May 11, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Implemented Get/SetToolTips functions.
parent
dd74d9d8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
4 deletions
+22
-4
listview.c
dlls/comctl32/listview.c
+22
-4
No files found.
dlls/comctl32/listview.c
View file @
442dd754
...
...
@@ -270,6 +270,7 @@ typedef struct tagLISTVIEW_INFO
WNDPROC
EditWndProc
;
INT
nEditLabelItem
;
DWORD
dwHoverTime
;
HWND
hwndToolTip
;
DWORD
lastKeyPressTimestamp
;
WPARAM
charCode
;
...
...
@@ -6989,7 +6990,24 @@ static BOOL LISTVIEW_SetTextColor (LISTVIEW_INFO *infoPtr, COLORREF clrText)
return
TRUE
;
}
/* LISTVIEW_SetToolTips */
/***
* DESCRIPTION:
* Determines which listview item is located at the specified position.
*
* PARAMETER(S):
* [I] infoPtr : valid pointer to the listview structure
* [I] hwndNewToolTip : handle to new ToolTip
*
* RETURN:
* old tool tip
*/
static
HWND
LISTVIEW_SetToolTips
(
LISTVIEW_INFO
*
infoPtr
,
HWND
hwndNewToolTip
)
{
HWND
hwndOldToolTip
=
infoPtr
->
hwndToolTip
;
infoPtr
->
hwndToolTip
=
hwndNewToolTip
;
return
hwndOldToolTip
;
}
/* LISTVIEW_SetUnicodeFormat */
/* LISTVIEW_SetWorkAreas */
...
...
@@ -8630,8 +8648,7 @@ LISTVIEW_WindowProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
/* case LVM_GETTILEVIEWINFO: */
case
LVM_GETTOOLTIPS
:
FIXME
(
"LVM_GETTOOLTIPS: unimplemented
\n
"
);
return
FALSE
;
return
(
LRESULT
)
infoPtr
->
hwndToolTip
;
case
LVM_GETTOPINDEX
:
return
LISTVIEW_GetTopIndex
(
infoPtr
);
...
...
@@ -8788,7 +8805,8 @@ LISTVIEW_WindowProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
/* case LVM_SETTILEWIDTH: */
/* case LVM_SETTOOLTIPS: */
case
LVM_SETTOOLTIPS
:
return
(
LRESULT
)
LISTVIEW_SetToolTips
(
infoPtr
,
(
HWND
)
lParam
);
/* case LVM_SETUNICODEFORMAT: */
...
...
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