home *** CD-ROM | disk | FTP | other *** search
- // -----
- // VDL1001.txt
- // Copyright 1996 SPI
- // -----
-
-
- //Standard Checked Warning Dialog
-
-
-
- /************************** LOCALIZED STRING CONSTANTS BEGIN **************************************/
- /************************** LOCALIZED STRING CONSTANTS BEGIN **************************************/
- /************************** LOCALIZED STRING CONSTANTS BEGIN **************************************/
-
- //This section contains all localizable string constants for this VDL program. Be sure to
- //include the backslash character at the end of each line of a multi-line string, except for the last line.
- //You may also flatten multiline constants into a single line, if you prefer
-
-
- #define kLit1 "Never show this warning again "
- #define kLit2 "OK"
-
- //Localized Fonts
-
- #if Platform_Mac
- #define DisplayFont {Geneva, 10, {Plain} }
- #else
- #define DisplayFont SystemFont
- #endif
-
-
- /************************** LOCALIZED STRING CONSTANTS END **************************************/
- /************************** LOCALIZED STRING CONSTANTS END **************************************/
- /************************** LOCALIZED STRING CONSTANTS END **************************************/
-
-
-
- /************************** LOCALIZED NUMERICAL CONSTANTS BEGIN **************************************/
- /************************** LOCALIZED NUMERICAL CONSTANTS BEGIN **************************************/
- /************************** LOCALIZED NUMERICAL CONSTANTS BEGIN **************************************/
-
- //This section contains integer constants that are used to format this VDL program.
- //These are localizable - they only need to be changed if the localized strings
- //are sufficiently longer than the US strings. Localize the strings first, then the constants.
-
- #ifndef MESSAGE_WIDTH
- #define MESSAGE_WIDTH 260
- #endif
-
- #if Platform_Mac
- #define kOKButtonWidth 70
- #else
- #define kOKButtonWidth 100
- #endif
-
- /************************** LOCALIZED NUMERICAL CONSTANTS END **************************************/
- /************************** LOCALIZED NUMERICAL CONSTANTS END **************************************/
- /************************** LOCALIZED NUMERICAL CONSTANTS END **************************************/
-
- //No further localizable data past this point
-
- /************************** END LOCALIZABLE DATA ***************************************************/
- /************************** END LOCALIZABLE DATA ***************************************************/
- /************************** END LOCALIZABLE DATA ***************************************************/
-
- #ifndef WANT_CANCEL
- #define WANT_CANCEL 0
- #endif
-
- #if Platform_Mac
- #define dlogBack BackColor = {65535, 65535, 65535}
- #else
- #define dlogBack BackColor = Dialog
- #endif
-
- #define EH EnabledHelpString =
-
-
- Margin(10, 10, 10, 10, dlogBack)
- VList()
- {
- HList()
- {
- #if Platform_Mac
- Margin(12,4,15,0)
- ICON(1000);
- #endif
-
- Spacer(Width = 10, Height = 0);
- VList()
- {
- Spacer(Width = 0, Height = 2);
- StaticText(warningMessage, Width = MESSAGE_WIDTH);
-
- Spacer(Width = 0, Height = 7);
- CheckBox(kLit1, neverShowAgain);
- }
- }
-
- Spacer(Width = 0, Height = 11);
-
- #if WANT_CANCEL
- StandardDialogButtonsH;
- #else
- HList(Width = UseParent)
- {
- Spacer(Width = UseParent, Height = 0);
- DefaultButton(kLit2, 1071, "None", Width = kOKButtonWidth);
- }
- #endif
- }
-
-