acmFormatChooseHookProc  CO4BY0 

The acmFormatChooseHookProc function specifies a user-defined function that hooks the acmFormatChoose21ZW2Z0 dialog box. The acmFormatChooseHookProc name is a placeholder for an application-defined name.

UINT ACMFORMATCHOOSEHOOKPROC acmFormatChooseHookProc(

    HWND hwnd,

 

        UINT uMsg,

 

    WPARAM wParam,

 

    LPARAM lParam

 

   );

 

 

Parameters

hwnd

Window handle for the dialog box.

uMsg

Window message.

wParam and lParam

Message parameters.

 

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.

See Also

acmFormatChoose, MM_ACM_FORMATCHOOSE