次の方法で共有


Common Dialog Boxes Functions (Compact 2013)

3/28/2014

The following tables show the common dialog boxes functions, with a description of the purpose of each.

Programming element

Description

CFHookProc

This function receives messages intended for the default dialog box procedure of the Font dialog box.

ChooseFont (function)

This function creates a Font dialog box that enables the user to choose attributes for a logical font.

CommDlgExtendedError

This function returns a common dialog box error value.

GetOpenFileName

This function creates a system-defined dialog box that enables the user to select a file to open.

GetSaveFileName

This function creates a system-defined dialog box that enables the user to select a file to save.

Programming element

Description

CCHookProc

This function is an application-defined or library-defined callback function that is used with the Color common dialog box.

ChooseColor (function)

This function creates a Color common dialog box that enables the user to select a color.

PagePaintHook

This function is an application-defined or library-defined callback function used with PageSetupDlg (function).

PageSetupDlg (function)

This function creates a Page Setup dialog box that enables the user to specify the attributes of a printed page.

PageSetupHook

This function is an application-defined or library-defined callback function used with PageSetupDlg (function).

PrintDlg (function)

This function displays a Print or Print Setup dialog box.

PrintHookProc

This function is an application-defined or library-defined callback function that is used with the Print common dialog box.

See Also

Reference

Common Dialog Boxes Reference