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
66ea6464
Commit
66ea6464
authored
Mar 13, 2012
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comdlg32: Implement WM_CHOOSEFONT_GETLOGFONT in the font dialog.
parent
104e3199
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
+7
-2
fontdlg.c
dlls/comdlg32/fontdlg.c
+7
-2
No files found.
dlls/comdlg32/fontdlg.c
View file @
66ea6464
...
...
@@ -1194,9 +1194,14 @@ static INT_PTR CALLBACK FormatCharDlgProcA(HWND hDlg, UINT uMsg, WPARAM wParam,
case
WM_DESTROY
:
return
CFn_WMDestroy
(
hDlg
,
lpcfw
);
case
WM_CHOOSEFONT_GETLOGFONT
:
{
LOGFONTA
*
logfont
=
(
LOGFONTA
*
)
lParam
;
TRACE
(
"WM_CHOOSEFONT_GETLOGFONT lParam=%08lX
\n
"
,
lParam
);
FIXME
(
"current logfont back to caller
\n
"
);
memcpy
(
logfont
,
lpcfw
->
lpLogFont
,
FIELD_OFFSET
(
LOGFONTA
,
lfFaceName
));
WideCharToMultiByte
(
CP_ACP
,
0
,
lpcfw
->
lpLogFont
->
lfFaceName
,
LF_FACESIZE
,
logfont
->
lfFaceName
,
LF_FACESIZE
,
NULL
,
NULL
);
break
;
}
case
WM_PAINT
:
return
CFn_WMPaint
(
hDlg
,
wParam
,
lParam
,
lpcfw
);
}
...
...
@@ -1242,7 +1247,7 @@ static INT_PTR CALLBACK FormatCharDlgProcW(HWND hDlg, UINT uMsg, WPARAM wParam,
return
TRUE
;
case
WM_CHOOSEFONT_GETLOGFONT
:
TRACE
(
"WM_CHOOSEFONT_GETLOGFONT lParam=%08lX
\n
"
,
lParam
);
FIXME
(
"current logfont back to caller
\n
"
);
memcpy
(
(
LOGFONTW
*
)
lParam
,
lpcf
->
lpLogFont
,
sizeof
(
LOGFONTW
)
);
break
;
case
WM_PAINT
:
return
CFn_WMPaint
(
hDlg
,
wParam
,
lParam
,
lpcf
);
...
...
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