CommonDialog Control Members
See Also

Suite Pro Controls ActiveX Control v24.0
CommonDialog Control Members
Public Methods
AboutBox
GetNextFileName
ShowBrowseFolder
ShowColor - CommonDialog control's Color dialog box.
ShowFont - CommonDialog control's Font dialog box.
ShowHelp
ShowOpen - CommonDialog control's Open dialog box.
ShowPrinter - CommonDialog control's Printer dialog box.
ShowSave - CommonDialog control's Save As dialog box.
ShowTipOfTheDay
ShowWindowList - Displays a dialog box that specifies the current version of the control.
| Method | Description |
|---|---|
| AboutBox | Displays a dialog box that specifies the current version of the control. |
| GetNextFileName | Returns a string that contains all of the file names selected in the Open File Dialog if the Multiselect option was set. |
| ShowBrowseFolder | Displays a directory chooser dialog. |
| ShowColor | Displays the Color dialog. |
| ShowFont | Displays the Font dialog. |
| ShowHelp | Runs Winhlp32.exe and displays the Help file you specify. |
| ShowOpen | Displays the Open dialog box. |
| ShowPrinter | Displays the Printer dialog box. |
| ShowSave | Displays the Save As dialog box. |
| ShowTipOfTheDay | Displays a Tip of the Day dialog. |
| ShowWindowList | Opens a Window List dialog. |
Public Properties
CancelError
Color
Copies
DefaultExt
DialogStyle
DialogTitle - Title bar of the dialog box.
FileName
FileTitle
Filter - List box of a dialog box.
FilterIndex
Flags
Font
FromPage
hDC
HelpCommand
HelpContext
HelpFile - Specifies the path of the tip file for the Tip of the Day dialog.
HelpKey
InitDir
Max
MaxFileSize - CommonDialog control.
Min
ParentHwnd
ProfileName - Used by ShowTipOfTheDay to store the last shown tip and by ShowWindowList to display the last window positions.
RegistryKey - Used by ShowTipOfTheDay to store the last shown tip and by ShowWindowList to display the last window positions.
ToPage
| Property | Description |
|---|---|
| CancelError | Returns or sets a value indicating whether an error is generated when the user chooses the Cancel button. |
| Color | Returns or sets the selected color. |
| Copies | Returns or sets a value that determines the number of copies to be printed. |
| DefaultExt | Returns or sets the default filename extension for the dialog box. |
| DialogStyle | Gets or sets whether the dialog is a standard or extended dialog. |
| DialogTitle | Returns or sets the string displayed in the title bar of the dialog box. |
| FileName | Returns or sets the path and filename of a selected file. |
| FileTitle | Returns the name (without the path) of the file to open or save. |
| Filter | Returns or sets the filters that are displayed in the Type list box of a dialog box. |
| FilterIndex | Returns or sets a default filter for an Open or Save As dialog box. |
| Flags | Gets or sets the flags used to modify the different types of dialogs that can be shown. |
| Font | Gets the Font selected from the Font Dialog or sets the Font that will be set when the Font Dialog is first opened. |
| FromPage | Gets or sets the page number of the first page to print. |
| hDC | Handle to the CommonDialog control. |
| HelpCommand | Returns or sets the type of online Help requested. |
| HelpContext | Returns or sets the context ID of the requested Help topic. |
| HelpFile | Specifies the path and filename of a Help file used by your application to display Help or online documentation. |
| HelpKey | Returns or sets the keyword that identifies the requested Help topic. |
| InitDir | Returns or sets the initial file directory. |
| Max | Gets or sets the maximum FromPage or ToPage that can be selected in a Print Dialog. |
| MaxFileSize | Returns or sets the maximum size of the filename opened using the CommonDialog control. |
| Min | Gets or sets the minimum FromPage or ToPage that can be selected in a Print Dialog. |
| ParentHwnd | Handle to the parent control from which the dialog is displayed. |
| ProfileName | Registry entry used by the CommonDialog control. |
| RegistryKey | Registry key used by the CommonDialog control. |
| ToPage | Gets or sets the number of the last page to print. |
See Also
Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.