ACMFORMATCHOOSEHOOKPROC callback function (msacm.h)
The acmFormatChooseHookProc function specifies a user-defined function that hooks the acmFormatChoose dialog box. The acmFormatChooseHookProc name is a placeholder for an application-defined name.
Syntax
ACMFORMATCHOOSEHOOKPROC Acmformatchoosehookproc;
UINT Acmformatchoosehookproc(
HWND hwnd,
UINT uMsg,
WPARAM wParam,
LPARAM lParam
)
{...}
Parameters
hwnd
Window handle for the dialog box.
uMsg
Window message.
wParam
Message parameter.
lParam
Message parameter.
Return value
None
Remarks
If the hook function processes one of the WM_CTLCOLOR messages, this function must return a handle of the brush that should be used to paint the control background.
A hook function can optionally process the MM_ACM_FORMATCHOOSE message.
You should use this function the same way as you use the Common Dialog hook functions for customizing common dialog boxes.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 2000 Professional [desktop apps only] |
Minimum supported server | Windows 2000 Server [desktop apps only] |
Target Platform | Windows |
Header | msacm.h |