Skip to content

CommonDialog Control Members

See Also

CommonDialog Overview

See Also

Suite Pro Controls ActiveX Control v24.0

CommonDialog Control Members

Public Methods

Public Method AboutBox
Public Method GetNextFileName
Public Method ShowBrowseFolder
Public Method ShowColor - CommonDialog control's Color dialog box.
Public Method ShowFont - CommonDialog control's Font dialog box.
Public Method ShowHelp
Public Method ShowOpen - CommonDialog control's Open dialog box.
Public Method ShowPrinter - CommonDialog control's Printer dialog box.
Public Method ShowSave - CommonDialog control's Save As dialog box.
Public Method ShowTipOfTheDay
Public Method 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

Public Property CancelError
Public Property Color
Public Property Copies
Public Property DefaultExt
Public Property DialogStyle
Public Property DialogTitle - Title bar of the dialog box.
Public Property FileName
Public Property FileTitle
Public Property Filter - List box of a dialog box.
Public Property FilterIndex
Public Property Flags
Public Property Font
Public Property FromPage
Public Property hDC
Public Property HelpCommand
Public Property HelpContext
Public Property HelpFile - Specifies the path of the tip file for the Tip of the Day dialog.
Public Property HelpKey
Public Property InitDir
Public Property Max
Public Property MaxFileSize - CommonDialog control.
Public Property Min
Public Property ParentHwnd
Public Property ProfileName - Used by ShowTipOfTheDay to store the last shown tip and by ShowWindowList to display the last window positions.
Public Property RegistryKey - Used by ShowTipOfTheDay to store the last shown tip and by ShowWindowList to display the last window positions.
Public Property 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

CommonDialog Overview


Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.