Mikołaj Zalewski wrote:
+SHELL_YESTOALL_MSGBOX DIALOG 200, 100, 280, 90 +STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +CAPTION "Message" +FONT 8, "MS Shell Dlg" +{
- DEFPUSHBUTTON "&Yes", IDYES, 34, 69, 53, 14, WS_GROUP | WS_TABSTOP
- PUSHBUTTON "Yes to &all", IDD_YESTOALL, 92, 69, 65, 14, WS_GROUP | WS_TABSTOP
- PUSHBUTTON "&No", IDNO, 162, 69, 53, 14, WS_GROUP | WS_TABSTOP
- PUSHBUTTON "&Cancel", IDCANCEL, 220, 69, 53, 14, WS_GROUP | WS_TABSTOP
- ICON "", IDD_ICON, 10, 10, 16, 16
- LTEXT "", IDD_MESSAGE, 40, 10, 238, 52, 0
+}
The usual convention is that IDD_* are used for IDs of dialogs and IDC_* are used for IDs of controls.
The usual convention is that IDD_* are used for IDs of dialogs and IDC_* are used for IDs of controls.
The Browse For Folders dialog uses IDD_ for controls and I wanted to follow the convention in this file.
Mikolaj Zalewski