| Constant |
Value |
Description |
| cdlOFNReadOnly |
0x1 |
Checks Read-Only check box for Open and Save As dialog boxes. |
| cdlOFNOverwritePrompt |
0x2 |
Causes the Save As dialog box to generate a message box if the
selected file already exists. |
| cdlOFNHideReadOnly |
0x4 |
Hides the Read-Only check box. |
| cdlOFNNoChangeDir |
0x8 |
Sets the current directory to what it was when the dialog
box was invoked. |
| cdlOFNHelpButton |
0x10 |
Causes the dialog box to display the Help button. |
| cdlOFNNoValidate |
0x100 |
Allows invalid characters in the returned filename. |
| cdlOFNAllowMultiselect |
0x200 |
Allows the File Name list box to have multiple selections. |
| cdlOFNExtensionDifferent |
0x400 |
The extension of the returned filename is different from
the extension set by the DefaultExt property. |
| cdlOFNPathMustExist |
0x800 |
User can enter only valid path names. |
| cdlOFNFileMustExist |
0x1000 |
User can enter only names of existing files. |
| cdlOFNCreatePrompt |
0x2000 |
Sets the dialog box to ask if the user wants
to create a file that doesn't currently exist. |
| cdlOFNShareAware |
0x4000 |
Sharing violation errors will be ignored. |
| cdlOFNNoReadOnlyReturn |
0x8000 |
The returned file doesn't have the Read-Only
attribute set and won't be in a write-protected directory. |
| cdlOFNExplorer |
0x0008000 |
Use the Explorer-like Open A File dialog box template.
(Windows 95 only.) |
| cdlOFNNoDereferenceLinks |
0x00100000 |
Do not dereference shortcuts (shell links) default,
choosing a shortcut causes it to be dereferenced by the shell.
(Windows 95 only.) |
| cdlOFNLongNames |
0x00200000 |
Use Long filenames. (Windows 95 only.) |
| Constant |
Value |
Description |
| cdlCFScreenFonts |
0x1 |
Dialog box lists only screen fonts supported by the system. |
| cdlCFPrinterFonts |
0x2 |
Dialog box lists only fonts supported by the printer. |
| cdlCFBoth |
0x3 |
Dialog box lists available screen and printer fonts. |
| cdlCFHelpButton |
0x4 |
Dialog box displays a Help button. |
| cdlCFEffects |
0x100 |
Dialog box enables strikeout, underline, and color effects. |
| cdlCFApply |
0x200 |
Dialog box enables the Apply button. |
| cdlCFANSIOnly |
0x400 |
Dialog box allows only a selection of fonts that use the
Windows character set. |
| cdlCFNoVectorFonts |
0x800 |
Dialog box should not allow vector-font selections. |
| cdlCFNoSimulations |
0x1000 |
Dialog box should not allow graphic device interface (GDI) |
| cdlCFLimitSize |
0x2000 |
Dialog box should select only font sizes within the range
specified by the Min and Max properties. |
| cdlCFFixedPitchOnly |
0x4000 |
Dialog box should select only fixed-pitch fonts. |
| cdlCFWYSIWYG |
0x8000 |
Dialog box should allow only the selection of fonts
available to both the screen and printer. |
| cdlCFForceFontExist |
0x10000 |
An error dialog box is displayed if a user selects
a font or style that doesn't exist. |
| cdlCFScalableOnly |
0x20000 |
Dialog box should allow only the selection of scalable fonts. |
| cdlCFTTOnly |
0x40000 |
Dialog box should allow only the selection of TrueType fonts. |
| cdlCFNoFaceSel |
0x80000 |
No font name selected. |
| cdlCFNoStyleSel |
0x100000 |
No font style selected. |
| cdlCFNoSizeSel |
0x200000 |
No font size selected. |
| Constant |
Value |
Description |
| cdlPDAllPages |
0x0 |
Returns or sets state of All Pages option button. |
| cdlPDCollate |
0x10 |
Returns or sets state of Collate check box. |
| cdlPDDisablePrintToFile |
0x80000 |
Disables the Print To File check box. |
| cdlPDHidePrintToFile |
0x100000 |
The Print To File check box isn't displayed. |
| cdlPDNoPageNums |
0x8 |
Returns or sets the state of the Pages option button. |
| cdlPDNoSelection |
0x4 |
Disables the Selection option button. |
| cdlPDNoWarning |
0x80 |
Prevents a warning message when there is no default printer. |
| cdlPDPageNums |
0x2 |
Returns or sets the state of the Pages option button. |
| cdlPDPrintSetup |
0x40 |
Displays the Print Setup dialog box rather
than the Print dialog box. |
| cdlPDPrintToFile |
0x20 |
Returns or sets the state of the Print To File check box. |
| cdlPDReturnDC |
0x100 |
Returns a device context for the printer selection value
returned in the hDC property of the dialog box. |
| cdlPDReturnDefault |
0x400 |
Returns default printer name. |
| cdlPDReturnIC |
0x200 |
Returns an information context for the printer
selection value returned in the hDC property of the dialog box. |
| cdlPDSelection |
0x1 |
Returns or sets the state of the Selection option button. |
| cdlPDHelpButton |
0x800 |
Dialog box displays the Help button. |
| cdlPDUseDevModeCopies |
0x40000 |
Sets support for multiple copies action; depends upon
whether or not printer supports multiple copies. |