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
4b8ca91d
Commit
4b8ca91d
authored
Oct 07, 2007
by
Lei Zhang
Committed by
Alexandre Julliard
Oct 09, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comctl32: Fix monthcal hit tests.
parent
76899534
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
90 additions
and
62 deletions
+90
-62
monthcal.c
dlls/comctl32/tests/monthcal.c
+90
-62
No files found.
dlls/comctl32/tests/monthcal.c
View file @
4b8ca91d
...
@@ -200,7 +200,13 @@ static const struct message monthcal_unicode_seq[] = {
...
@@ -200,7 +200,13 @@ static const struct message monthcal_unicode_seq[] = {
};
};
static
const
struct
message
monthcal_hit_test_seq
[]
=
{
static
const
struct
message
monthcal_hit_test_seq
[]
=
{
{
MCM_HITTEST
,
sent
|
wparam
,
0
},
{
MCM_SETCURSEL
,
sent
|
wparam
,
0
},
{
WM_PAINT
,
sent
|
wparam
|
lparam
|
defwinproc
,
0
,
0
},
{
WM_NCPAINT
,
sent
|
wparam
|
lparam
|
defwinproc
,
1
,
0
},
{
WM_ERASEBKGND
,
sent
|
lparam
|
defwinproc
,
0
},
{
WM_SETFONT
,
sent
|
lparam
,
0
,
0
},
{
WM_PAINT
,
sent
|
wparam
|
lparam
|
defwinproc
,
0
,
0
},
{
WM_ERASEBKGND
,
sent
|
lparam
|
defwinproc
,
0
},
{
MCM_HITTEST
,
sent
|
wparam
,
0
},
{
MCM_HITTEST
,
sent
|
wparam
,
0
},
{
MCM_HITTEST
,
sent
|
wparam
,
0
},
{
MCM_HITTEST
,
sent
|
wparam
,
0
},
{
MCM_HITTEST
,
sent
|
wparam
,
0
},
{
MCM_HITTEST
,
sent
|
wparam
,
0
},
...
@@ -224,6 +230,8 @@ static const struct message monthcal_hit_test_seq[] = {
...
@@ -224,6 +230,8 @@ static const struct message monthcal_hit_test_seq[] = {
static
const
struct
message
monthcal_today_seq
[]
=
{
static
const
struct
message
monthcal_today_seq
[]
=
{
{
MCM_SETTODAY
,
sent
|
wparam
,
0
},
{
MCM_SETTODAY
,
sent
|
wparam
,
0
},
{
WM_PAINT
,
sent
|
wparam
|
lparam
|
defwinproc
,
0
,
0
},
{
WM_PAINT
,
sent
|
wparam
|
lparam
|
defwinproc
,
0
,
0
},
{
WM_NCPAINT
,
sent
|
wparam
|
lparam
|
defwinproc
,
1
,
0
},
{
WM_ERASEBKGND
,
sent
|
lparam
|
defwinproc
,
0
},
{
MCM_GETTODAY
,
sent
|
wparam
,
0
},
{
MCM_GETTODAY
,
sent
|
wparam
,
0
},
{
MCM_SETTODAY
,
sent
|
wparam
,
0
},
{
MCM_SETTODAY
,
sent
|
wparam
,
0
},
{
WM_PAINT
,
sent
|
wparam
|
lparam
|
defwinproc
,
0
,
0
},
{
WM_PAINT
,
sent
|
wparam
|
lparam
|
defwinproc
,
0
,
0
},
...
@@ -478,7 +486,7 @@ static HWND create_monthcal_control(DWORD style, HWND parent_window)
...
@@ -478,7 +486,7 @@ static HWND create_monthcal_control(DWORD style, HWND parent_window)
MONTHCAL_CLASS
,
MONTHCAL_CLASS
,
""
,
""
,
style
,
style
,
0
,
0
,
300
,
3
00
,
0
,
0
,
300
,
4
00
,
parent_window
,
NULL
,
GetModuleHandleA
(
NULL
),
NULL
);
parent_window
,
NULL
,
GetModuleHandleA
(
NULL
),
NULL
);
if
(
!
hwnd
)
if
(
!
hwnd
)
...
@@ -706,16 +714,32 @@ static void test_monthcal_unicode(HWND hwnd)
...
@@ -706,16 +714,32 @@ static void test_monthcal_unicode(HWND hwnd)
ok_sequence
(
sequences
,
MONTHCAL_SEQ_INDEX
,
monthcal_unicode_seq
,
"monthcal unicode"
,
FALSE
);
ok_sequence
(
sequences
,
MONTHCAL_SEQ_INDEX
,
monthcal_unicode_seq
,
"monthcal unicode"
,
FALSE
);
}
}
static
void
test_monthcal_HitTest
(
HWND
h
wnd
)
static
void
test_monthcal_HitTest
(
HWND
parent_
wnd
)
{
{
MCHITTESTINFO
mchit
;
MCHITTESTINFO
mchit
;
int
res
;
int
res
;
HWND
hwnd
;
SYSTEMTIME
st
;
hwnd
=
create_monthcal_control
(
WS_CHILD
|
WS_BORDER
|
WS_VISIBLE
,
parent_wnd
);
assert
(
hwnd
);
memset
(
&
mchit
,
0
,
sizeof
(
MCHITTESTINFO
));
memset
(
&
mchit
,
0
,
sizeof
(
MCHITTESTINFO
));
flush_sequences
(
sequences
,
NUM_MSG_SEQUENCES
);
flush_sequences
(
sequences
,
NUM_MSG_SEQUENCES
);
/* Setters for HITTEST */
st
.
wYear
=
2007
;
st
.
wMonth
=
4
;
st
.
wDay
=
11
;
st
.
wHour
=
1
;
st
.
wMinute
=
0
;
st
.
wSecond
=
0
;
st
.
wMilliseconds
=
0
;
st
.
wDayOfWeek
=
0
;
res
=
SendMessage
(
hwnd
,
MCM_SETCURSEL
,
0
,
(
LPARAM
)
&
st
);
expect
(
1
,
res
);
SendMessage
(
hwnd
,
WM_SETFONT
,
(
WPARAM
)
GetStockObject
(
SYSTEM_FONT
),
0
);
/* (0, 0) is the top left of the control and should not be active */
/* (0, 0) is the top left of the control and should not be active */
mchit
.
cbSize
=
sizeof
(
MCHITTESTINFO
);
mchit
.
cbSize
=
sizeof
(
MCHITTESTINFO
);
...
@@ -727,12 +751,12 @@ static void test_monthcal_HitTest(HWND hwnd)
...
@@ -727,12 +751,12 @@ static void test_monthcal_HitTest(HWND hwnd)
expect
(
mchit
.
uHit
,
res
);
expect
(
mchit
.
uHit
,
res
);
todo_wine
{
expect
(
MCHT_NOWHERE
,
res
);}
todo_wine
{
expect
(
MCHT_NOWHERE
,
res
);}
/* (300,
3
00) is the bottom right of the control and should not be active */
/* (300,
4
00) is the bottom right of the control and should not be active */
mchit
.
pt
.
x
=
300
;
mchit
.
pt
.
x
=
300
;
mchit
.
pt
.
y
=
3
00
;
mchit
.
pt
.
y
=
4
00
;
res
=
SendMessage
(
hwnd
,
MCM_HITTEST
,
0
,
(
LPARAM
)
&
mchit
);
res
=
SendMessage
(
hwnd
,
MCM_HITTEST
,
0
,
(
LPARAM
)
&
mchit
);
expect
(
300
,
mchit
.
pt
.
x
);
expect
(
300
,
mchit
.
pt
.
x
);
expect
(
3
00
,
mchit
.
pt
.
y
);
expect
(
4
00
,
mchit
.
pt
.
y
);
expect
(
mchit
.
uHit
,
res
);
expect
(
mchit
.
uHit
,
res
);
todo_wine
{
expect
(
MCHT_NOWHERE
,
res
);}
todo_wine
{
expect
(
MCHT_NOWHERE
,
res
);}
...
@@ -745,69 +769,70 @@ static void test_monthcal_HitTest(HWND hwnd)
...
@@ -745,69 +769,70 @@ static void test_monthcal_HitTest(HWND hwnd)
expect
(
mchit
.
uHit
,
res
);
expect
(
mchit
.
uHit
,
res
);
todo_wine
{
expect
(
MCHT_NOWHERE
,
res
);}
todo_wine
{
expect
(
MCHT_NOWHERE
,
res
);}
/* (1
50, 20
0) is in active area - calendar background */
/* (1
20, 18
0) is in active area - calendar background */
mchit
.
pt
.
x
=
1
5
0
;
mchit
.
pt
.
x
=
1
2
0
;
mchit
.
pt
.
y
=
20
0
;
mchit
.
pt
.
y
=
18
0
;
res
=
SendMessage
(
hwnd
,
MCM_HITTEST
,
0
,
(
LPARAM
)
&
mchit
);
res
=
SendMessage
(
hwnd
,
MCM_HITTEST
,
0
,
(
LPARAM
)
&
mchit
);
expect
(
1
5
0
,
mchit
.
pt
.
x
);
expect
(
1
2
0
,
mchit
.
pt
.
x
);
expect
(
20
0
,
mchit
.
pt
.
y
);
expect
(
18
0
,
mchit
.
pt
.
y
);
expect
(
mchit
.
uHit
,
res
);
expect
(
mchit
.
uHit
,
res
);
expect
(
MCHT_CALENDARBK
,
res
);
expect
(
MCHT_CALENDARBK
,
res
);
/* (
70, 2
0) is in active area - previous month button */
/* (
50, 4
0) is in active area - previous month button */
mchit
.
pt
.
x
=
7
0
;
mchit
.
pt
.
x
=
5
0
;
mchit
.
pt
.
y
=
2
0
;
mchit
.
pt
.
y
=
4
0
;
res
=
SendMessage
(
hwnd
,
MCM_HITTEST
,
0
,
(
LPARAM
)
&
mchit
);
res
=
SendMessage
(
hwnd
,
MCM_HITTEST
,
0
,
(
LPARAM
)
&
mchit
);
expect
(
7
0
,
mchit
.
pt
.
x
);
expect
(
5
0
,
mchit
.
pt
.
x
);
expect
(
2
0
,
mchit
.
pt
.
y
);
expect
(
4
0
,
mchit
.
pt
.
y
);
expect
(
mchit
.
uHit
,
res
);
expect
(
mchit
.
uHit
,
res
);
todo_wine
{
expect
(
MCHT_TITLEBTNPREV
,
res
);}
todo_wine
{
expect
(
MCHT_TITLEBTNPREV
,
res
);}
/* (90,
2
0) is in active area - background section of the title */
/* (90,
4
0) is in active area - background section of the title */
mchit
.
pt
.
x
=
90
;
mchit
.
pt
.
x
=
90
;
mchit
.
pt
.
y
=
2
0
;
mchit
.
pt
.
y
=
4
0
;
res
=
SendMessage
(
hwnd
,
MCM_HITTEST
,
0
,
(
LPARAM
)
&
mchit
);
res
=
SendMessage
(
hwnd
,
MCM_HITTEST
,
0
,
(
LPARAM
)
&
mchit
);
expect
(
90
,
mchit
.
pt
.
x
);
expect
(
90
,
mchit
.
pt
.
x
);
expect
(
2
0
,
mchit
.
pt
.
y
);
expect
(
4
0
,
mchit
.
pt
.
y
);
expect
(
mchit
.
uHit
,
res
);
expect
(
mchit
.
uHit
,
res
);
todo_wine
{
expect
(
MCHT_TITLE
,
res
);}
todo_wine
{
expect
(
MCHT_TITLE
,
res
);}
/* (1
50, 2
0) is in active area - month section of the title */
/* (1
40, 4
0) is in active area - month section of the title */
mchit
.
pt
.
x
=
1
5
0
;
mchit
.
pt
.
x
=
1
4
0
;
mchit
.
pt
.
y
=
2
0
;
mchit
.
pt
.
y
=
4
0
;
res
=
SendMessage
(
hwnd
,
MCM_HITTEST
,
0
,
(
LPARAM
)
&
mchit
);
res
=
SendMessage
(
hwnd
,
MCM_HITTEST
,
0
,
(
LPARAM
)
&
mchit
);
expect
(
1
5
0
,
mchit
.
pt
.
x
);
expect
(
1
4
0
,
mchit
.
pt
.
x
);
expect
(
2
0
,
mchit
.
pt
.
y
);
expect
(
4
0
,
mchit
.
pt
.
y
);
expect
(
mchit
.
uHit
,
res
);
expect
(
mchit
.
uHit
,
res
);
todo_wine
{
expect
(
MCHT_TITLEMONTH
,
res
);}
todo_wine
{
expect
(
MCHT_TITLEMONTH
,
res
);}
/* (2
30, 20) is in active area - previous
month button */
/* (2
50, 40) is in active area - next
month button */
mchit
.
pt
.
x
=
2
3
0
;
mchit
.
pt
.
x
=
2
5
0
;
mchit
.
pt
.
y
=
2
0
;
mchit
.
pt
.
y
=
4
0
;
res
=
SendMessage
(
hwnd
,
MCM_HITTEST
,
0
,
(
LPARAM
)
&
mchit
);
res
=
SendMessage
(
hwnd
,
MCM_HITTEST
,
0
,
(
LPARAM
)
&
mchit
);
expect
(
2
3
0
,
mchit
.
pt
.
x
);
expect
(
2
5
0
,
mchit
.
pt
.
x
);
expect
(
2
0
,
mchit
.
pt
.
y
);
expect
(
4
0
,
mchit
.
pt
.
y
);
expect
(
mchit
.
uHit
,
res
);
expect
(
mchit
.
uHit
,
res
);
todo_wine
{
expect
(
MCHT_TITLEBTNNEXT
,
res
);}
todo_wine
{
expect
(
MCHT_TITLEBTNNEXT
,
res
);}
/* (70,
4
0) is in active area - day of the week */
/* (70,
7
0) is in active area - day of the week */
mchit
.
pt
.
x
=
70
;
mchit
.
pt
.
x
=
70
;
mchit
.
pt
.
y
=
4
0
;
mchit
.
pt
.
y
=
7
0
;
res
=
SendMessage
(
hwnd
,
MCM_HITTEST
,
0
,
(
LPARAM
)
&
mchit
);
res
=
SendMessage
(
hwnd
,
MCM_HITTEST
,
0
,
(
LPARAM
)
&
mchit
);
expect
(
70
,
mchit
.
pt
.
x
);
expect
(
70
,
mchit
.
pt
.
x
);
expect
(
4
0
,
mchit
.
pt
.
y
);
expect
(
7
0
,
mchit
.
pt
.
y
);
expect
(
mchit
.
uHit
,
res
);
expect
(
mchit
.
uHit
,
res
);
todo_wine
{
expect
(
MCHT_CALENDARDAY
,
res
);}
todo_wine
{
expect
(
MCHT_CALENDARDAY
,
res
);}
/* (70,
55
) is in active area - date from prev month */
/* (70,
90
) is in active area - date from prev month */
mchit
.
pt
.
x
=
70
;
mchit
.
pt
.
x
=
70
;
mchit
.
pt
.
y
=
55
;
mchit
.
pt
.
y
=
90
;
res
=
SendMessage
(
hwnd
,
MCM_HITTEST
,
0
,
(
LPARAM
)
&
mchit
);
res
=
SendMessage
(
hwnd
,
MCM_HITTEST
,
0
,
(
LPARAM
)
&
mchit
);
expect
(
70
,
mchit
.
pt
.
x
);
expect
(
70
,
mchit
.
pt
.
x
);
expect
(
55
,
mchit
.
pt
.
y
);
expect
(
90
,
mchit
.
pt
.
y
);
expect
(
mchit
.
uHit
,
res
);
expect
(
mchit
.
uHit
,
res
);
todo_wine
{
expect
(
MCHT_CALENDARDATEPREV
,
res
);}
todo_wine
{
expect
(
MCHT_CALENDARDATEPREV
,
res
);}
#if 0
/* (125, 115) is in active area - date from this month */
/* (125, 115) is in active area - date from this month */
mchit.pt.x = 125;
mchit.pt.x = 125;
mchit.pt.y = 115;
mchit.pt.y = 115;
...
@@ -815,72 +840,75 @@ static void test_monthcal_HitTest(HWND hwnd)
...
@@ -815,72 +840,75 @@ static void test_monthcal_HitTest(HWND hwnd)
expect(125, mchit.pt.x);
expect(125, mchit.pt.x);
expect(115, mchit.pt.y);
expect(115, mchit.pt.y);
expect(mchit.uHit, res);
expect(mchit.uHit, res);
todo_wine
{
expect
(
MCHT_CALENDARDATE
,
res
);}
expect(MCHT_CALENDARDATE, res);
#endif
/* (80,
16
0) is in active area - background section of the title */
/* (80,
22
0) is in active area - background section of the title */
mchit
.
pt
.
x
=
80
;
mchit
.
pt
.
x
=
80
;
mchit
.
pt
.
y
=
16
0
;
mchit
.
pt
.
y
=
22
0
;
res
=
SendMessage
(
hwnd
,
MCM_HITTEST
,
0
,
(
LPARAM
)
&
mchit
);
res
=
SendMessage
(
hwnd
,
MCM_HITTEST
,
0
,
(
LPARAM
)
&
mchit
);
expect
(
80
,
mchit
.
pt
.
x
);
expect
(
80
,
mchit
.
pt
.
x
);
expect
(
16
0
,
mchit
.
pt
.
y
);
expect
(
22
0
,
mchit
.
pt
.
y
);
expect
(
mchit
.
uHit
,
res
);
expect
(
mchit
.
uHit
,
res
);
todo_wine
{
expect
(
MCHT_TITLEBK
,
res
);}
todo_wine
{
expect
(
MCHT_TITLEBK
,
res
);}
/* (1
50, 160
) is in active area - month section of the title */
/* (1
40, 215
) is in active area - month section of the title */
mchit
.
pt
.
x
=
1
5
0
;
mchit
.
pt
.
x
=
1
4
0
;
mchit
.
pt
.
y
=
160
;
mchit
.
pt
.
y
=
215
;
res
=
SendMessage
(
hwnd
,
MCM_HITTEST
,
0
,
(
LPARAM
)
&
mchit
);
res
=
SendMessage
(
hwnd
,
MCM_HITTEST
,
0
,
(
LPARAM
)
&
mchit
);
expect
(
1
5
0
,
mchit
.
pt
.
x
);
expect
(
1
4
0
,
mchit
.
pt
.
x
);
expect
(
160
,
mchit
.
pt
.
y
);
expect
(
215
,
mchit
.
pt
.
y
);
expect
(
mchit
.
uHit
,
res
);
expect
(
mchit
.
uHit
,
res
);
todo_wine
{
expect
(
MCHT_TITLEMONTH
,
res
);}
todo_wine
{
expect
(
MCHT_TITLEMONTH
,
res
);}
/* (170,
160
) is in active area - year section of the title */
/* (170,
215
) is in active area - year section of the title */
mchit
.
pt
.
x
=
170
;
mchit
.
pt
.
x
=
170
;
mchit
.
pt
.
y
=
160
;
mchit
.
pt
.
y
=
215
;
res
=
SendMessage
(
hwnd
,
MCM_HITTEST
,
0
,
(
LPARAM
)
&
mchit
);
res
=
SendMessage
(
hwnd
,
MCM_HITTEST
,
0
,
(
LPARAM
)
&
mchit
);
expect
(
170
,
mchit
.
pt
.
x
);
expect
(
170
,
mchit
.
pt
.
x
);
expect
(
160
,
mchit
.
pt
.
y
);
expect
(
215
,
mchit
.
pt
.
y
);
expect
(
mchit
.
uHit
,
res
);
expect
(
mchit
.
uHit
,
res
);
todo_wine
{
expect
(
MCHT_TITLEYEAR
,
res
);}
todo_wine
{
expect
(
MCHT_TITLEYEAR
,
res
);}
/* (150, 2
4
0) is in active area - date from this month */
/* (150, 2
6
0) is in active area - date from this month */
mchit
.
pt
.
x
=
150
;
mchit
.
pt
.
x
=
150
;
mchit
.
pt
.
y
=
2
4
0
;
mchit
.
pt
.
y
=
2
6
0
;
res
=
SendMessage
(
hwnd
,
MCM_HITTEST
,
0
,
(
LPARAM
)
&
mchit
);
res
=
SendMessage
(
hwnd
,
MCM_HITTEST
,
0
,
(
LPARAM
)
&
mchit
);
expect
(
150
,
mchit
.
pt
.
x
);
expect
(
150
,
mchit
.
pt
.
x
);
expect
(
2
4
0
,
mchit
.
pt
.
y
);
expect
(
2
6
0
,
mchit
.
pt
.
y
);
expect
(
mchit
.
uHit
,
res
);
expect
(
mchit
.
uHit
,
res
);
todo_wine
{
expect
(
MCHT_CALENDARDATE
,
res
);}
todo_wine
{
expect
(
MCHT_CALENDARDATE
,
res
);}
/* (150,
27
0) is in active area - date from next month */
/* (150,
35
0) is in active area - date from next month */
mchit
.
pt
.
x
=
150
;
mchit
.
pt
.
x
=
150
;
mchit
.
pt
.
y
=
27
0
;
mchit
.
pt
.
y
=
35
0
;
res
=
SendMessage
(
hwnd
,
MCM_HITTEST
,
0
,
(
LPARAM
)
&
mchit
);
res
=
SendMessage
(
hwnd
,
MCM_HITTEST
,
0
,
(
LPARAM
)
&
mchit
);
expect
(
150
,
mchit
.
pt
.
x
);
expect
(
150
,
mchit
.
pt
.
x
);
expect
(
27
0
,
mchit
.
pt
.
y
);
expect
(
35
0
,
mchit
.
pt
.
y
);
expect
(
mchit
.
uHit
,
res
);
expect
(
mchit
.
uHit
,
res
);
todo_wine
{
expect
(
MCHT_CALENDARDATENEXT
,
res
);}
todo_wine
{
expect
(
MCHT_CALENDARDATENEXT
,
res
);}
/* (150,
29
0) is in active area - today link */
/* (150,
37
0) is in active area - today link */
mchit
.
pt
.
x
=
150
;
mchit
.
pt
.
x
=
150
;
mchit
.
pt
.
y
=
29
0
;
mchit
.
pt
.
y
=
37
0
;
res
=
SendMessage
(
hwnd
,
MCM_HITTEST
,
0
,
(
LPARAM
)
&
mchit
);
res
=
SendMessage
(
hwnd
,
MCM_HITTEST
,
0
,
(
LPARAM
)
&
mchit
);
expect
(
150
,
mchit
.
pt
.
x
);
expect
(
150
,
mchit
.
pt
.
x
);
expect
(
29
0
,
mchit
.
pt
.
y
);
expect
(
37
0
,
mchit
.
pt
.
y
);
expect
(
mchit
.
uHit
,
res
);
expect
(
mchit
.
uHit
,
res
);
todo_wine
{
expect
(
MCHT_TODAYLINK
,
res
);}
todo_wine
{
expect
(
MCHT_TODAYLINK
,
res
);}
/* (70,
29
0) is in active area - today link */
/* (70,
37
0) is in active area - today link */
mchit
.
pt
.
x
=
70
;
mchit
.
pt
.
x
=
70
;
mchit
.
pt
.
y
=
29
0
;
mchit
.
pt
.
y
=
37
0
;
res
=
SendMessage
(
hwnd
,
MCM_HITTEST
,
0
,
(
LPARAM
)
&
mchit
);
res
=
SendMessage
(
hwnd
,
MCM_HITTEST
,
0
,
(
LPARAM
)
&
mchit
);
expect
(
70
,
mchit
.
pt
.
x
);
expect
(
70
,
mchit
.
pt
.
x
);
expect
(
29
0
,
mchit
.
pt
.
y
);
expect
(
37
0
,
mchit
.
pt
.
y
);
expect
(
mchit
.
uHit
,
res
);
expect
(
mchit
.
uHit
,
res
);
todo_wine
{
expect
(
MCHT_TODAYLINK
,
res
);}
todo_wine
{
expect
(
MCHT_TODAYLINK
,
res
);}
ok_sequence
(
sequences
,
MONTHCAL_SEQ_INDEX
,
monthcal_hit_test_seq
,
"monthcal hit test"
,
FALSE
);
ok_sequence
(
sequences
,
MONTHCAL_SEQ_INDEX
,
monthcal_hit_test_seq
,
"monthcal hit test"
,
TRUE
);
DestroyWindow
(
hwnd
);
}
}
static
void
test_monthcal_today
(
HWND
hwnd
)
static
void
test_monthcal_today
(
HWND
hwnd
)
...
@@ -1044,7 +1072,7 @@ START_TEST(monthcal)
...
@@ -1044,7 +1072,7 @@ START_TEST(monthcal)
test_monthcal_currDate
(
hwnd
);
test_monthcal_currDate
(
hwnd
);
test_monthcal_firstDay
(
hwnd
);
test_monthcal_firstDay
(
hwnd
);
test_monthcal_unicode
(
hwnd
);
test_monthcal_unicode
(
hwnd
);
test_monthcal_HitTest
(
h
wnd
);
test_monthcal_HitTest
(
parent_
wnd
);
test_monthcal_today
(
hwnd
);
test_monthcal_today
(
hwnd
);
test_monthcal_scroll
(
hwnd
);
test_monthcal_scroll
(
hwnd
);
test_monthcal_monthrange
(
hwnd
);
test_monthcal_monthrange
(
hwnd
);
...
...
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