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
5594a5f9
Commit
5594a5f9
authored
Sep 02, 2009
by
Nikolay Sivov
Committed by
Alexandre Julliard
Sep 08, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comctl32/trackbar: Default to TBTS_TOP position on creation.
parent
8385fe4f
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
7 deletions
+5
-7
trackbar.c
dlls/comctl32/tests/trackbar.c
+4
-6
trackbar.c
dlls/comctl32/trackbar.c
+1
-1
No files found.
dlls/comctl32/tests/trackbar.c
View file @
5594a5f9
...
...
@@ -868,15 +868,13 @@ static void test_tool_tips(HWND hWndTrackbar){
flush_sequences
(
sequences
,
NUM_MSG_SEQUENCE
);
/* testing TBM_SETTIPSIDE */
r
=
SendMessage
(
hWndTrackbar
,
TBM_SETTIPSIDE
,
TBTS_TOP
,
0
);
todo_wine
{
expect
(
0
,
r
);
}
expect
(
TBTS_TOP
,
r
);
r
=
SendMessage
(
hWndTrackbar
,
TBM_SETTIPSIDE
,
TBTS_LEFT
,
0
);
expect
(
0
,
r
);
expect
(
TBTS_TOP
,
r
);
r
=
SendMessage
(
hWndTrackbar
,
TBM_SETTIPSIDE
,
TBTS_BOTTOM
,
0
);
expect
(
1
,
r
);
expect
(
TBTS_LEFT
,
r
);
r
=
SendMessage
(
hWndTrackbar
,
TBM_SETTIPSIDE
,
TBTS_RIGHT
,
0
);
expect
(
2
,
r
);
expect
(
TBTS_BOTTOM
,
r
);
/* testing TBM_SETTOOLTIPS */
hWndTooltip
=
CreateWindowEx
(
WS_EX_TOPMOST
,
TOOLTIPS_CLASS
,
NULL
,
0
,
...
...
dlls/comctl32/trackbar.c
View file @
5594a5f9
...
...
@@ -1408,7 +1408,7 @@ TRACKBAR_Create (HWND hwnd, const CREATESTRUCTW *lpcs)
infoPtr
->
lSelMin
=
0
;
infoPtr
->
lSelMax
=
0
;
infoPtr
->
lPos
=
0
;
infoPtr
->
fLocation
=
-
1
;
infoPtr
->
fLocation
=
TBTS_TOP
;
infoPtr
->
uNumTics
=
0
;
/* start and end tic are not included in count*/
infoPtr
->
uTicFreq
=
1
;
infoPtr
->
tics
=
NULL
;
...
...
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