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
d105fe21
Commit
d105fe21
authored
Dec 03, 2003
by
Huw Davies
Committed by
Alexandre Julliard
Dec 03, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Only honour SBS_SIZEBOX*ALIGN styles if SBS_SIZE{GRIP,BOX} is set.
parent
4d5238fb
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
scroll.c
controls/scroll.c
+3
-4
No files found.
controls/scroll.c
View file @
d105fe21
...
...
@@ -974,7 +974,7 @@ static void SCROLL_HandleScrollEvent( HWND hwnd, INT nBar, UINT msg, POINT pt)
if
((
SCROLL_trackHitTest
==
SCROLL_NOWHERE
)
&&
(
msg
!=
WM_LBUTTONDOWN
))
return
;
if
(
GetWindowLongW
(
hwnd
,
GWL_STYLE
)
&
(
SBS_SIZEGRIP
|
SBS_SIZEBOX
))
if
(
nBar
==
SB_CTL
&&
(
GetWindowLongW
(
hwnd
,
GWL_STYLE
)
&
(
SBS_SIZEGRIP
|
SBS_SIZEBOX
)
))
{
switch
(
msg
)
{
...
...
@@ -1278,13 +1278,12 @@ LPCREATESTRUCTW lpCreate /* [in] The style and place of the scroll bar */)
}
if
(
lpCreate
->
style
&
SBS_SIZEBOXTOPLEFTALIGN
)
if
(
lpCreate
->
style
&
(
SBS_SIZEGRIP
|
SBS_SIZEBOX
)
)
{
if
(
lpCreate
->
style
&
SBS_SIZEBOXTOPLEFTALIGN
)
MoveWindow
(
hwnd
,
lpCreate
->
x
,
lpCreate
->
y
,
GetSystemMetrics
(
SM_CXVSCROLL
)
+
1
,
GetSystemMetrics
(
SM_CYHSCROLL
)
+
1
,
FALSE
);
}
else
if
(
lpCreate
->
style
&
SBS_SIZEBOXBOTTOMRIGHTALIGN
)
{
MoveWindow
(
hwnd
,
lpCreate
->
x
+
lpCreate
->
cx
-
GetSystemMetrics
(
SM_CXVSCROLL
)
-
1
,
lpCreate
->
y
+
lpCreate
->
cy
-
GetSystemMetrics
(
SM_CYHSCROLL
)
-
1
,
GetSystemMetrics
(
SM_CXVSCROLL
)
+
1
,
...
...
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