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

  1. // -----
  2. // VDL175.txt
  3. // Copyright 1996 Claris
  4. // -----
  5.  
  6. // Modal Help window toolbar
  7.  
  8. #include "StdVPref.txt"
  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. //WINDOWS LOCALIZER: Note that there are no '&' chars in these strings - hotkeys 
  21. //are not functional in HomePage document windows, so the hotkey char 
  22. //is left out here.
  23.  
  24. #define kLit1 "Back"
  25. #define kLit2 "Back up to the previous help topic"
  26. #define kLit3 "Using Help"
  27. #define kLit4 "Display instructions for using this Help window"
  28.  
  29. #define kOKButtonText "Done"
  30.  
  31.  
  32. /************************** LOCALIZED STRING CONSTANTS END **************************************/
  33. /************************** LOCALIZED STRING CONSTANTS END **************************************/
  34. /************************** LOCALIZED STRING CONSTANTS END **************************************/
  35.  
  36.  
  37. #if Platform_Mac
  38.     #define kOKButtonWidth 70
  39. #else
  40.     #define kOKButtonWidth 100
  41. #endif
  42.  
  43.  
  44. /************************** LOCALIZED NUMERICAL CONSTANTS BEGIN **************************************/
  45. /************************** LOCALIZED NUMERICAL CONSTANTS BEGIN **************************************/
  46. /************************** LOCALIZED NUMERICAL CONSTANTS BEGIN **************************************/
  47.  
  48. //This section contains integer constants that are used to format this VDL program.
  49. //These are localizable - they only need to be changed if the localized strings 
  50. //are sufficiently longer than the US strings. Localize the strings first, then the constants.
  51.  
  52.  
  53.  
  54. /************************** LOCALIZED NUMERICAL CONSTANTS END **************************************/
  55. /************************** LOCALIZED NUMERICAL CONSTANTS END **************************************/
  56. /************************** LOCALIZED NUMERICAL CONSTANTS END **************************************/
  57.  
  58. //No further localizable data past this point
  59.  
  60. /************************** END LOCALIZABLE DATA ***************************************************/
  61. /************************** END LOCALIZABLE DATA ***************************************************/
  62. /************************** END LOCALIZABLE DATA ***************************************************/
  63.  
  64.  
  65. #define Gap Spacer(Width=10, Height=UseParent)
  66.  
  67. #define ccModalHelpBack            3460
  68. #define ccModalHelpUsing        3461
  69.  
  70. Define(MainToolbarList)
  71.     HList(BackColor = {57015, 57015, 57015}, Width = UseParent)
  72.         {
  73.         PushButton( kLit1, ccModalHelpBack, "None",
  74.                         EH kLit2 );
  75.         Gap;
  76.         PushButton( kLit3, ccModalHelpUsing, "None",
  77.                         EH kLit4 );
  78.         
  79.         Spacer(Width=UseParent, Height=UseParent);
  80.         UnframedDefaultButton(kOKButtonText, 1071, "None", Width = kOKButtonWidth);
  81.         } // HList
  82.  
  83.  
  84. #if Platform_Mac
  85.     Margin(2,2,2,3, Custom = "HeaderBarMarginProc", Width = UseParent)
  86.         Margin(4,3,3,4, stdBackColor)
  87.             Call(MainToolbarList);
  88. #else
  89.     VList(Width = UseParent, stdBackColor)
  90.         {
  91.         Margin(4,4,4,4, Width = UseParent)
  92.             Call(MainToolbarList);
  93.             
  94.         Spacer(Height = 1, Width = UseParent, BackColor = DkGray);
  95.         Spacer(Height = 1, Width = UseParent, BackColor = Black);
  96.         }
  97. #endif
  98.