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
18454444
Commit
18454444
authored
Aug 22, 2005
by
Michael Kaufmann
Committed by
Alexandre Julliard
Aug 22, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Handle WM_GETFONT and WM_SETFONT.
parent
b6aeb56d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
0 deletions
+15
-0
datetime.c
dlls/comctl32/datetime.c
+15
-0
No files found.
dlls/comctl32/datetime.c
View file @
18454444
...
...
@@ -1164,6 +1164,15 @@ DATETIME_StyleChanged(DATETIME_INFO *infoPtr, WPARAM wStyleType, LPSTYLESTRUCT l
static
LRESULT
DATETIME_SetFont
(
DATETIME_INFO
*
infoPtr
,
HFONT
font
,
BOOL
repaint
)
{
infoPtr
->
hFont
=
font
;
if
(
repaint
)
InvalidateRect
(
infoPtr
->
hwndSelf
,
NULL
,
TRUE
);
return
0
;
}
static
LRESULT
DATETIME_Create
(
HWND
hwnd
,
LPCREATESTRUCTW
lpcs
)
{
static
const
WCHAR
SysMonthCal32W
[]
=
{
'S'
,
'y'
,
's'
,
'M'
,
'o'
,
'n'
,
't'
,
'h'
,
'C'
,
'a'
,
'l'
,
'3'
,
'2'
,
0
};
...
...
@@ -1314,6 +1323,12 @@ DATETIME_WindowProc (HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
case
WM_STYLECHANGED
:
return
DATETIME_StyleChanged
(
infoPtr
,
wParam
,
(
LPSTYLESTRUCT
)
lParam
);
case
WM_SETFONT
:
return
DATETIME_SetFont
(
infoPtr
,
(
HFONT
)
wParam
,
(
BOOL
)
lParam
);
case
WM_GETFONT
:
return
(
LRESULT
)
infoPtr
->
hFont
;
default:
if
((
uMsg
>=
WM_USER
)
&&
(
uMsg
<
WM_APP
))
ERR
(
"unknown msg %04x wp=%08x lp=%08lx
\n
"
,
...
...
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