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
49c7aff2
Commit
49c7aff2
authored
Sep 17, 2001
by
Bobby Bingham
Committed by
Alexandre Julliard
Sep 17, 2001
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
When you hold the left mouse button inside the scrollbar, then move
the mouse off so it stops scrolling, and return the mouse, it should continue scrolling.
parent
1a8b3399
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
11 deletions
+11
-11
scroll.c
controls/scroll.c
+11
-11
No files found.
controls/scroll.c
View file @
49c7aff2
/*
/*
* Scrollbar control
*
* Copyright 1993 Martin Ayotte
...
...
@@ -49,7 +49,7 @@ static HBITMAP hRgArrowI;
/* Minimum size of the rectangle between the arrows */
#define SCROLL_MIN_RECT 4
#define SCROLL_MIN_RECT 4
/* Minimum size of the thumb in pixels */
#define SCROLL_MIN_THUMB 6
...
...
@@ -100,7 +100,7 @@ static BOOL SCROLL_ShowScrollBar( HWND hwnd, INT nBar,
BOOL
fShowH
,
BOOL
fShowV
);
static
INT
SCROLL_SetScrollInfo
(
HWND
hwnd
,
INT
nBar
,
const
SCROLLINFO
*
info
,
INT
*
action
);
static
void
SCROLL_DrawInterior_9x
(
HWND
hwnd
,
HDC
hdc
,
INT
nBar
,
static
void
SCROLL_DrawInterior_9x
(
HWND
hwnd
,
HDC
hdc
,
INT
nBar
,
RECT
*
rect
,
INT
arrowSize
,
INT
thumbSize
,
INT
thumbPos
,
UINT
flags
,
BOOL
vertical
,
...
...
@@ -994,10 +994,10 @@ void SCROLL_HandleScrollEvent( HWND hwnd, INT nBar, UINT msg, POINT pt)
{
SendMessageA
(
hwndOwner
,
vertical
?
WM_VSCROLL
:
WM_HSCROLL
,
SB_PAGEUP
,
hwndCtl
);
SetSystemTimer
(
hwnd
,
SCROLL_TIMER
,
(
msg
==
WM_LBUTTONDOWN
)
?
SCROLL_FIRST_DELAY
:
SCROLL_REPEAT_DELAY
,
(
TIMERPROC
)
0
);
}
SetSystemTimer
(
hwnd
,
SCROLL_TIMER
,
(
msg
==
WM_LBUTTONDOWN
)
?
SCROLL_FIRST_DELAY
:
SCROLL_REPEAT_DELAY
,
(
TIMERPROC
)
0
);
}
else
KillSystemTimer
(
hwnd
,
SCROLL_TIMER
);
break
;
...
...
@@ -1049,7 +1049,7 @@ void SCROLL_HandleScrollEvent( HWND hwnd, INT nBar, UINT msg, POINT pt)
}
}
break
;
case
SCROLL_BOTTOM_RECT
:
SCROLL_DrawInterior
(
hwnd
,
hdc
,
nBar
,
&
rect
,
arrowSize
,
thumbSize
,
thumbPos
,
infoPtr
->
flags
,
vertical
,
...
...
@@ -1060,14 +1060,14 @@ void SCROLL_HandleScrollEvent( HWND hwnd, INT nBar, UINT msg, POINT pt)
{
SendMessageA
(
hwndOwner
,
vertical
?
WM_VSCROLL
:
WM_HSCROLL
,
SB_PAGEDOWN
,
hwndCtl
);
SetSystemTimer
(
hwnd
,
SCROLL_TIMER
,
(
msg
==
WM_LBUTTONDOWN
)
?
SCROLL_FIRST_DELAY
:
SCROLL_REPEAT_DELAY
,
(
TIMERPROC
)
0
);
}
SetSystemTimer
(
hwnd
,
SCROLL_TIMER
,
(
msg
==
WM_LBUTTONDOWN
)
?
SCROLL_FIRST_DELAY
:
SCROLL_REPEAT_DELAY
,
(
TIMERPROC
)
0
);
}
else
KillSystemTimer
(
hwnd
,
SCROLL_TIMER
);
break
;
case
SCROLL_BOTTOM_ARROW
:
SCROLL_DrawArrows
(
hdc
,
infoPtr
,
&
rect
,
arrowSize
,
vertical
,
FALSE
,
(
hittest
==
SCROLL_trackHitTest
)
);
...
...
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