home *** CD-ROM | disk | FTP | other *** search
/ CD Ware Multimedia 1999 March / CDW0399.iso / Demos / HomePage / data1.cab / Program_Executable_Files / Homepage.exe / 1009 / 1001 < prev    next >
Encoding:
Text File  |  1997-12-10  |  3.6 KB  |  123 lines

  1. // -----
  2. // VDL1001.txt
  3. // Copyright 1996 SPI
  4. // -----
  5.  
  6.  
  7. //Standard Checked Warning Dialog
  8.  
  9.  
  10.  
  11. /************************** LOCALIZED STRING CONSTANTS BEGIN **************************************/
  12. /************************** LOCALIZED STRING CONSTANTS BEGIN **************************************/
  13. /************************** LOCALIZED STRING CONSTANTS BEGIN **************************************/
  14.  
  15. //This section contains all localizable string constants for this VDL program. Be sure to 
  16. //include the backslash character at the end of each line of a multi-line string, except for the last line.
  17. //You may also flatten multiline constants into a single line, if you prefer
  18.  
  19.  
  20. #define kLit1 "Never show this warning again  "
  21. #define kLit2 "OK"
  22.  
  23. //Localized Fonts
  24.  
  25. #if Platform_Mac
  26.     #define DisplayFont {Geneva, 10, {Plain} }
  27. #else
  28.     #define DisplayFont SystemFont
  29. #endif
  30.  
  31.  
  32. /************************** LOCALIZED STRING CONSTANTS END **************************************/
  33. /************************** LOCALIZED STRING CONSTANTS END **************************************/
  34. /************************** LOCALIZED STRING CONSTANTS END **************************************/
  35.  
  36.  
  37.  
  38. /************************** LOCALIZED NUMERICAL CONSTANTS BEGIN **************************************/
  39. /************************** LOCALIZED NUMERICAL CONSTANTS BEGIN **************************************/
  40. /************************** LOCALIZED NUMERICAL CONSTANTS BEGIN **************************************/
  41.  
  42. //This section contains integer constants that are used to format this VDL program.
  43. //These are localizable - they only need to be changed if the localized strings 
  44. //are sufficiently longer than the US strings. Localize the strings first, then the constants.
  45.  
  46. #ifndef MESSAGE_WIDTH 
  47. #define MESSAGE_WIDTH 260
  48. #endif
  49.  
  50. #if Platform_Mac
  51. #define kOKButtonWidth 70
  52. #else
  53. #define kOKButtonWidth 100
  54. #endif
  55.  
  56. /************************** LOCALIZED NUMERICAL CONSTANTS END **************************************/
  57. /************************** LOCALIZED NUMERICAL CONSTANTS END **************************************/
  58. /************************** LOCALIZED NUMERICAL CONSTANTS END **************************************/
  59.  
  60. //No further localizable data past this point
  61.  
  62. /************************** END LOCALIZABLE DATA ***************************************************/
  63. /************************** END LOCALIZABLE DATA ***************************************************/
  64. /************************** END LOCALIZABLE DATA ***************************************************/
  65.  
  66. #ifndef WANT_CANCEL
  67. #define WANT_CANCEL 0 
  68. #endif
  69.  
  70. //    DO NOT TOUCH
  71. //    WORK IN PROGRESS
  72. //    - Russ [08.17.97]
  73. //#if Platform_Mac
  74. //    #define dlogBack BackColor = {65535, 65535, 65535}
  75. //#else
  76.     #define dlogBack BackColor = Dialog
  77. //#endif
  78.  
  79. #define EH EnabledHelpString =
  80.  
  81. #if Platform_Mac
  82. #define WidowCheckBox         Mac_Appearance_CheckBox
  83. #else
  84. #define WidowCheckBox          CheckBox
  85. #endif
  86. #define kCheckBoxHeight 18
  87.  
  88.  
  89. Margin(10, 10, 10, 10, dlogBack)
  90. VList()
  91.     {
  92.     HList()
  93.         {
  94.         #if Platform_Mac
  95.         Margin(12,4,15,0)
  96.             cicn(0);
  97.         #endif
  98.         
  99.         Spacer(Width = 10, Height = 0);
  100.         VList()
  101.             {
  102.             Spacer(Width = 0, Height = 2);
  103.             StaticText(warningMessage, Width = MESSAGE_WIDTH);
  104.             
  105.             Spacer(Width = 0, Height = 7);
  106.             WidowCheckBox(kLit1, neverShowAgain, Height = kCheckBoxHeight);
  107.             }
  108.         }
  109.     
  110.     Spacer(Width = 0, Height = 11);
  111.     
  112.     #if WANT_CANCEL
  113.     StandardDialogButtonsH;        
  114.     #else
  115.     HList(Width = UseParent)
  116.         {
  117.         Spacer(Width = UseParent, Height = 0);        
  118.         DefaultButton(kLit2, 1071, "None", Width = kOKButtonWidth);
  119.         }
  120.     #endif
  121.     }
  122.  
  123.