Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
1ab851a1
Commit
1ab851a1
authored
Oct 18, 2009
by
Nikolay Sivov
Committed by
Alexandre Julliard
Oct 19, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comctl32/monthcal: Explicitly set required control size.
parent
5517209a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
monthcal.c
dlls/comctl32/tests/monthcal.c
+5
-1
No files found.
dlls/comctl32/tests/monthcal.c
View file @
1ab851a1
...
@@ -1351,6 +1351,11 @@ static void test_monthcal_monthrange(void)
...
@@ -1351,6 +1351,11 @@ static void test_monthcal_monthrange(void)
/* to be locale independent */
/* to be locale independent */
SendMessage
(
hwnd
,
MCM_SETFIRSTDAYOFWEEK
,
0
,
(
LPARAM
)
6
);
SendMessage
(
hwnd
,
MCM_SETFIRSTDAYOFWEEK
,
0
,
(
LPARAM
)
6
);
res
=
SendMessage
(
hwnd
,
MCM_GETMINREQRECT
,
0
,
(
LPARAM
)
&
r
);
expect
(
TRUE
,
res
);
/* resize control to display two Calendars */
MoveWindow
(
hwnd
,
0
,
0
,
r
.
right
,
(
5
/
2
)
*
r
.
bottom
,
FALSE
);
flush_sequences
(
sequences
,
NUM_MSG_SEQUENCES
);
flush_sequences
(
sequences
,
NUM_MSG_SEQUENCES
);
res
=
SendMessage
(
hwnd
,
MCM_GETMONTHRANGE
,
GMR_VISIBLE
,
(
LPARAM
)
st_visible
);
res
=
SendMessage
(
hwnd
,
MCM_GETMONTHRANGE
,
GMR_VISIBLE
,
(
LPARAM
)
st_visible
);
...
@@ -1383,7 +1388,6 @@ static void test_monthcal_monthrange(void)
...
@@ -1383,7 +1388,6 @@ static void test_monthcal_monthrange(void)
ok_sequence
(
sequences
,
MONTHCAL_SEQ_INDEX
,
monthcal_monthrange_seq
,
"monthcal monthrange"
,
FALSE
);
ok_sequence
(
sequences
,
MONTHCAL_SEQ_INDEX
,
monthcal_monthrange_seq
,
"monthcal monthrange"
,
FALSE
);
/* resize control to display single Calendar */
/* resize control to display single Calendar */
res
=
SendMessage
(
hwnd
,
MCM_GETMINREQRECT
,
0
,
(
LPARAM
)
&
r
);
MoveWindow
(
hwnd
,
0
,
0
,
r
.
right
,
r
.
bottom
,
FALSE
);
MoveWindow
(
hwnd
,
0
,
0
,
r
.
right
,
r
.
bottom
,
FALSE
);
memset
(
&
st
,
0
,
sizeof
(
st
));
memset
(
&
st
,
0
,
sizeof
(
st
));
...
...
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