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
3d845b12
Commit
3d845b12
authored
Aug 12, 2012
by
Eric Pouech
Committed by
Alexandre Julliard
Aug 16, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msacm32: In acmFormatChoose, added support for template.
parent
50199423
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
1 deletion
+11
-1
format.c
dlls/msacm32/format.c
+11
-1
No files found.
dlls/msacm32/format.c
View file @
3d845b12
...
...
@@ -210,7 +210,9 @@ static INT_PTR CALLBACK FormatChooseDlgProc(HWND hWnd, UINT msg,
MSACM_FillFormatTags
(
hWnd
);
MSACM_FillFormat
(
hWnd
);
if
((
afc
->
fdwStyle
&
~
(
ACMFORMATCHOOSE_STYLEF_CONTEXTHELP
|
ACMFORMATCHOOSE_STYLEF_SHOWHELP
))
!=
0
)
ACMFORMATCHOOSE_STYLEF_SHOWHELP
|
ACMFORMATCHOOSE_STYLEF_ENABLETEMPLATEHANDLE
|
ACMFORMATCHOOSE_STYLEF_ENABLETEMPLATE
))
!=
0
)
FIXME
(
"Unsupported style %08x
\n
"
,
afc
->
fdwStyle
);
if
(
!
(
afc
->
fdwStyle
&
ACMFORMATCHOOSE_STYLEF_SHOWHELP
))
ShowWindow
(
GetDlgItem
(
hWnd
,
IDD_ACMFORMATCHOOSE_BTN_HELP
),
SW_HIDE
);
...
...
@@ -352,6 +354,14 @@ done:
*/
MMRESULT
WINAPI
acmFormatChooseW
(
PACMFORMATCHOOSEW
pafmtc
)
{
if
(
pafmtc
->
fdwStyle
&
ACMFORMATCHOOSE_STYLEF_ENABLETEMPLATEHANDLE
)
return
DialogBoxIndirectParamW
(
MSACM_hInstance32
,
(
LPCDLGTEMPLATEW
)
pafmtc
->
hInstance
,
pafmtc
->
hwndOwner
,
FormatChooseDlgProc
,
(
LPARAM
)
pafmtc
);
if
(
pafmtc
->
fdwStyle
&
ACMFORMATCHOOSE_STYLEF_ENABLETEMPLATE
)
return
DialogBoxParamW
(
pafmtc
->
hInstance
,
pafmtc
->
pszTemplateName
,
pafmtc
->
hwndOwner
,
FormatChooseDlgProc
,
(
LPARAM
)
pafmtc
);
return
DialogBoxParamW
(
MSACM_hInstance32
,
MAKEINTRESOURCEW
(
DLG_ACMFORMATCHOOSE_ID
),
pafmtc
->
hwndOwner
,
FormatChooseDlgProc
,
(
LPARAM
)
pafmtc
);
}
...
...
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