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

  1. // -----
  2. // VDL174.txt
  3. // Copyright 1996 Claris
  4. // -----
  5.  
  6. #include "StdVPref.txt"
  7.  
  8. /************************** LOCALIZED STRING CONSTANTS BEGIN **************************************/
  9.  
  10. #define kOKButtonText         "OK"
  11. #define kCancelButtonText     "Cancel"
  12. #define kSkipButtonText        "&Skip file"
  13.  
  14. /************************** LOCALIZED STRING CONSTANTS END **************************************/
  15.  
  16.  
  17.  
  18. /************************** LOCALIZED NUMERICAL CONSTANTS BEGIN **************************************/
  19.  
  20. #if Platform_Mac
  21. #define kOKButtonWidth         70
  22. #define kCancelButtonWidth 70
  23. #define kSkipButtonWidth     140
  24.  
  25. #else
  26. #define kOKButtonWidth         100
  27. #define kCancelButtonWidth 100
  28. #define kSkipButtonWidth     140
  29. #endif
  30.  
  31.  
  32. /************************** LOCALIZED NUMERICAL CONSTANTS END **************************************/
  33.  
  34. //No further localizable data past this point
  35.  
  36. /************************** END LOCALIZABLE DATA ***************************************************/
  37.  
  38.  
  39. // command codes from CommandCode.h
  40. #define ccCancel              1070 
  41. #define ccOK                    1071
  42. #define ccDontSave            1072
  43.  
  44.  
  45. Margin(10, 10, 10, 10, BackColor = Dialog)
  46.     VList()
  47.         {
  48.         HList()
  49.             {
  50.             #if Platform_Mac
  51.             cicn(2);
  52.             #endif
  53.             
  54.             Spacer(Width = 10);
  55.             StaticText(errorMessage, Width = 350);
  56.             }
  57.             
  58.         Spacer(Height = 10);
  59.         HList()
  60.             {
  61.             UnframedButton(kSkipButtonText, ccDontSave, "None", Width = kSkipButtonWidth);
  62.             Spacer(Width = UseParent, Height = 0);
  63.  
  64.             #if Platform_Mac
  65.             Spacer(Width = 10, Height = 0);
  66.             CancelButton(kCancelButtonText, ccCancel, "None", Width = kCancelButtonWidth);
  67.             Spacer(Width = 10, Height = 0);
  68.  
  69.             DefaultButton(kOKButtonText, ccOK, "None", Width = kOKButtonWidth);
  70.             #else
  71.             Spacer(Width = 10, Height = 0);
  72.             DefaultButton(kOKButtonText, ccOK, "None", Width = kOKButtonWidth);
  73.             Spacer(Width = 10, Height = 0);
  74.                 
  75.             CancelButton(kCancelButtonText, ccCancel, "None", Width = kCancelButtonWidth);
  76.             #endif
  77.             }
  78.         }