Common Dialog Box Initialization Flags
Flags are used to modify the behavior and appearance of a common dialog box. Initialization flags are the values that you set in the Flags member of the structure that is used to create the dialog box. You use the flags to specify which controls in a dialog box receive initial values, to disable selected controls, and to modify the range of values that the user can set with the controls. You also use the flags to enable hook procedures and custom templates for the dialog boxes.
For example, you can set the CF_EFFECTS value in the Flags member of the CHOOSEFONT structure to direct the Font dialog box to display the effects controls. These controls let the user choose a font color as well as strikethrough and underline effects.
The initialization flag values are unique to each common dialog box and are described in detail by the Flags members of the following structures that correspond to them: