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
cc6fca01
Commit
cc6fca01
authored
Sep 29, 2009
by
Nikolay Sivov
Committed by
Alexandre Julliard
Sep 30, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comctl32/monthcal: Make prev/next month day a current selection on LButton release.
parent
344f0700
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
7 deletions
+8
-7
monthcal.c
dlls/comctl32/monthcal.c
+8
-7
No files found.
dlls/comctl32/monthcal.c
View file @
cc6fca01
...
...
@@ -1564,16 +1564,17 @@ MONTHCAL_LButtonUp(MONTHCAL_INFO *infoPtr, LPARAM lParam)
infoPtr
->
status
=
MC_SEL_LBUTUP
;
if
(
hit
==
MCHT_CALENDARDATENEXT
)
{
MONTHCAL_GoToNextMonth
(
infoPtr
)
;
InvalidateRect
(
infoPtr
->
hwndSelf
,
NULL
,
FALSE
);
return
TRUE
;
}
if
(
hit
==
MCHT_CALENDARDATEPREV
){
MONTHCAL_GoToPrevMonth
(
infoPtr
);
if
(
(
hit
==
MCHT_CALENDARDATENEXT
)
||
(
hit
==
MCHT_CALENDARDATEPREV
)
)
{
SYSTEMTIME
st
[
2
]
;
st
[
0
]
=
st
[
1
]
=
ht
.
st
;
MONTHCAL_SetSelRange
(
infoPtr
,
st
);
MONTHCAL_SetCurSel
(
infoPtr
,
&
st
[
0
]);
InvalidateRect
(
infoPtr
->
hwndSelf
,
NULL
,
FALSE
);
return
TRUE
;
}
nmhdr
.
hwndFrom
=
infoPtr
->
hwndSelf
;
nmhdr
.
idFrom
=
GetWindowLongPtrW
(
infoPtr
->
hwndSelf
,
GWLP_ID
);
nmhdr
.
code
=
NM_RELEASEDCAPTURE
;
...
...
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