Explorer-Style Control Identifiers
The Win32 SDK provides the default dialog box template for the old-style
dialog boxes, but does not include the default template for the Explorer-style
dialog boxes. This is because the Explorer-style dialogs allow you to add your own
controls but do not support modifying the template for the standard controls.
However, in some cases, you may need to know the control identifiers used in the
default templates. For example, the
CDM_HIDECONTROL and
CDM_SETCONTROLTEXT messages require a control identifier.
The following table shows the identifiers of the standard controls in the
Explorer-style Open and Save As dialog boxes. The identifiers are constants defined
in DLGS.H and WINUSER.H.
Control identifier
| Control Description
|
cmb2
| Drop-down combo box that displays the current drive or folder, and that allows
the user to select a drive or folder to open
|
stc4
| Label for the cmb2 combo box
|
lst1
| List box that displays the contents of the current drive or folder
|
stc1
| Label for the lst1 list box
|
edt1
| Edit control that displays the name of the current file, or in which the user
can type the name of the file to open
|
stc3
| Label for the edt1 edit control
|
cmb1
| Drop-down combo box that displays the list of file type filters
|
stc2
| Label for the cmb1 combo box
|
chx1
| The read-only check box
|
IDOK
| The OK command button (push button)
|
IDCANCEL
| The Cancel command button (push button)
|
pshHelp
| The Help command button (push button)
|
- Software for developers
-
Delphi Components
.Net Components
Software for Android Developers
- More information resources
-
MegaDetailed.Net
Unix Manual Pages
Delphi Examples
- Databases for Amazon shops developers
-
Amazon Categories Database
Browse Nodes Database