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
f93a0780
Commit
f93a0780
authored
Jan 17, 2005
by
Paul Vriens
Committed by
Alexandre Julliard
Jan 17, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove the checking/setting of the defaults in TRACKBAR_Create.
parent
740d6bc3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
12 deletions
+3
-12
trackbar.c
dlls/comctl32/trackbar.c
+3
-12
No files found.
dlls/comctl32/trackbar.c
View file @
f93a0780
...
@@ -1336,7 +1336,7 @@ static LRESULT
...
@@ -1336,7 +1336,7 @@ static LRESULT
TRACKBAR_Create
(
HWND
hwnd
,
LPCREATESTRUCTW
lpcs
)
TRACKBAR_Create
(
HWND
hwnd
,
LPCREATESTRUCTW
lpcs
)
{
{
TRACKBAR_INFO
*
infoPtr
;
TRACKBAR_INFO
*
infoPtr
;
DWORD
oldStyle
,
ne
wStyle
;
DWORD
d
wStyle
;
infoPtr
=
(
TRACKBAR_INFO
*
)
Alloc
(
sizeof
(
TRACKBAR_INFO
));
infoPtr
=
(
TRACKBAR_INFO
*
)
Alloc
(
sizeof
(
TRACKBAR_INFO
));
if
(
!
infoPtr
)
return
-
1
;
if
(
!
infoPtr
)
return
-
1
;
...
@@ -1359,19 +1359,10 @@ TRACKBAR_Create (HWND hwnd, LPCREATESTRUCTW lpcs)
...
@@ -1359,19 +1359,10 @@ TRACKBAR_Create (HWND hwnd, LPCREATESTRUCTW lpcs)
TRACKBAR_InitializeThumb
(
infoPtr
);
TRACKBAR_InitializeThumb
(
infoPtr
);
oldStyle
=
newStyle
=
GetWindowLongW
(
hwnd
,
GWL_STYLE
);
dwStyle
=
GetWindowLongW
(
hwnd
,
GWL_STYLE
);
if
(
oldStyle
&
TBS_VERT
)
{
if
(
!
(
oldStyle
&
(
TBS_LEFT
|
TBS_RIGHT
|
TBS_BOTH
))
)
newStyle
|=
TBS_RIGHT
;
}
else
{
if
(
!
(
oldStyle
&
(
TBS_TOP
|
TBS_BOTTOM
|
TBS_BOTH
))
)
newStyle
|=
TBS_BOTTOM
;
}
if
(
newStyle
!=
oldStyle
)
SetWindowLongW
(
hwnd
,
GWL_STYLE
,
newStyle
);
/* Create tooltip control */
/* Create tooltip control */
if
(
ne
wStyle
&
TBS_TOOLTIPS
)
{
if
(
d
wStyle
&
TBS_TOOLTIPS
)
{
infoPtr
->
hwndToolTip
=
infoPtr
->
hwndToolTip
=
CreateWindowExW
(
0
,
TOOLTIPS_CLASSW
,
NULL
,
0
,
CreateWindowExW
(
0
,
TOOLTIPS_CLASSW
,
NULL
,
0
,
...
...
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