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
e58b5349
Commit
e58b5349
authored
Oct 13, 2009
by
Nikolay Sivov
Committed by
Alexandre Julliard
Oct 13, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comctl32/monthcal: Add separate handler for WM_PRINTCLIENT.
parent
7beaa88e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
1 deletion
+20
-1
monthcal.c
dlls/comctl32/monthcal.c
+20
-1
No files found.
dlls/comctl32/monthcal.c
View file @
e58b5349
...
...
@@ -2123,6 +2123,23 @@ MONTHCAL_EraseBkgnd(const MONTHCAL_INFO *infoPtr, HDC hdc)
}
static
LRESULT
MONTHCAL_PrintClient
(
MONTHCAL_INFO
*
infoPtr
,
HDC
hdc
,
DWORD
options
)
{
FIXME
(
"Partial Stub: (hdc=%p options=0x%08x)
\n
"
,
hdc
,
options
);
if
((
options
&
PRF_CHECKVISIBLE
)
&&
!
IsWindowVisible
(
infoPtr
->
hwndSelf
))
return
0
;
if
(
options
&
PRF_ERASEBKGND
)
MONTHCAL_EraseBkgnd
(
infoPtr
,
hdc
);
if
(
options
&
PRF_CLIENT
)
MONTHCAL_Paint
(
infoPtr
,
hdc
);
return
0
;
}
static
LRESULT
MONTHCAL_SetFocus
(
const
MONTHCAL_INFO
*
infoPtr
)
{
TRACE
(
"
\n
"
);
...
...
@@ -2534,10 +2551,12 @@ MONTHCAL_WindowProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
case
WM_LBUTTONUP
:
return
MONTHCAL_LButtonUp
(
infoPtr
,
lParam
);
case
WM_PRINTCLIENT
:
case
WM_PAINT
:
return
MONTHCAL_Paint
(
infoPtr
,
(
HDC
)
wParam
);
case
WM_PRINTCLIENT
:
return
MONTHCAL_PrintClient
(
infoPtr
,
(
HDC
)
wParam
,
(
DWORD
)
lParam
);
case
WM_ERASEBKGND
:
return
MONTHCAL_EraseBkgnd
(
infoPtr
,
(
HDC
)
wParam
);
...
...
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