Skip to content

Constants - Print Result Codes

For color printers, the use of colors can be enabled or disabled via these constants:

Constant Description
PD_RESULT_CANCEL The user clicked the Cancel button. The information in the PRINTDLGEX structure is unchanged.
PD_RESULT_PRINT The user clicked the Print button. The PRINTDLGEX structure contains the information specified by the user.
PD_RESULT_APPLY The user clicked the Apply button and later clicked the Cancel button. This indicates that the user wants to apply the changes made in the property sheet, but does not yet want to print. The PRINTDLGEX structure contains the information specified by the user at the time the Apply button was clicked.