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
244ad84f
Commit
244ad84f
authored
May 18, 2000
by
Francois Gouget
Committed by
Alexandre Julliard
May 18, 2000
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Convert C++ comments to regular C comments.
parent
561895a9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
10 deletions
+10
-10
tab.c
dlls/comctl32/tab.c
+10
-10
No files found.
dlls/comctl32/tab.c
View file @
244ad84f
...
...
@@ -495,10 +495,10 @@ TAB_DrawLoneItemInterior(HWND hwnd, TAB_INFO* infoPtr, int iItem)
static
VOID
CALLBACK
TAB_HotTrackTimerProc
(
HWND
hwnd
,
/
/ handle of window for timer messages
UINT
uMsg
,
/
/ WM_TIMER message
UINT
idEvent
,
/
/ timer identifier
DWORD
dwTime
/
/ current system time
HWND
hwnd
,
/
* handle of window for timer messages */
UINT
uMsg
,
/
* WM_TIMER message */
UINT
idEvent
,
/
* timer identifier */
DWORD
dwTime
/
* current system time */
)
{
TAB_INFO
*
infoPtr
=
TAB_GetInfoPtr
(
hwnd
);
...
...
@@ -517,12 +517,12 @@ TAB_HotTrackTimerProc
*/
if
(
!
GetCursorPos
(
&
pt
)
||
WindowFromPoint
(
pt
)
!=
hwnd
)
{
/
/ Redraw iHotTracked to look normal
/
* Redraw iHotTracked to look normal */
INT
iRedraw
=
infoPtr
->
iHotTracked
;
infoPtr
->
iHotTracked
=
-
1
;
TAB_DrawLoneItemInterior
(
hwnd
,
infoPtr
,
iRedraw
);
/
/ Kill this timer
/
* Kill this timer */
KillTimer
(
hwnd
,
TAB_HOTTRACK_TIMER
);
}
}
...
...
@@ -586,19 +586,19 @@ TAB_RecalcHotTrack
{
if
(
infoPtr
->
iHotTracked
>=
0
)
{
/
/ Mark currently hot-tracked to be redrawn to look normal
/
* Mark currently hot-tracked to be redrawn to look normal */
if
(
out_redrawLeave
!=
NULL
)
*
out_redrawLeave
=
infoPtr
->
iHotTracked
;
if
(
item
<
0
)
{
/
/ Kill timer which forces recheck of mouse pos
/
* Kill timer which forces recheck of mouse pos */
KillTimer
(
hwnd
,
TAB_HOTTRACK_TIMER
);
}
}
else
{
/
/ Start timer so we recheck mouse pos
/
* Start timer so we recheck mouse pos */
UINT
timerID
=
SetTimer
(
hwnd
,
...
...
@@ -615,7 +615,7 @@ TAB_RecalcHotTrack
if
(
item
>=
0
)
{
// Mark new hot-tracked to be redrawn to look highlighted
/* Mark new hot-tracked to be redrawn to look highlighted */
if
(
out_redrawEnter
!=
NULL
)
*
out_redrawEnter
=
item
;
}
...
...
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