Configuring Preferences dialog boxes

Using the ICFGDialogs interface, you can configure any of the Options and Preferences dialog boxes. For example, you can disable or enable buttons, menu items and tabs, allowing you to control how settings are displayed.

Note that if you are using the default ISpicerConfiguration interface, you can use the ConfigurationSetting property to configure dialog boxes.

To configure individual dialog boxes:

· Use the DocumentPropertiesDlgCfg property to configure the Properties dialog box.

· Use the EditPreferencesDlgCfg property to configure the Edit Options and Edit Preferences dialog boxes.

· Use the FaxDlgCfg property to configure the Fax Send dialog box.

· Use the FilePreferencesDlgCfg property to configure the File Preferences dialog box.

· Use the FormatPreferencesDlgCfg property to configure the Format Preferences dialog box.

· Use the PrintDlgCfg property to configure the Print dialog box.

· Use the SaveAsUsingStandardDlg property to determine if the standard Windows SaveAs dialog box is used when saving a document for the first time.

· Use the ToolPreferencesDlgCfg property to configure the Tool Options and Tool Preferences dialog boxes.

· Use the ViewPreferencesDlgCfg property to configure the View Preferences dialog box.

To configure other settings for Preferences dialog boxes:

· Use the MeasurementInPixels property to set whether the "pixels" option appears in units lists in the Tool Options and Tool Preferences, the Edit Options and Edit Preferences, and the View Options and View Preferences dialog boxes. The default is FALSE.

· Use the RemoveUnusedDialogItems property to set whether dialog box options are removed from a dialog box, or merely appear dimmed in that dialog box, after they are disabled using the properties in the ICFGDialogs interface. The default is FALSE.

· Use the SaveAndReset property to set whether the Save and Reset buttons are enabled or disabled in all Preferences dialog boxes. The default is TRUE.

See also

Opening Preferences dialog boxes