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

  1. // -----
  2. // VDL166.txt
  3. // Copyright 1996 Claris
  4. // -----
  5.  
  6. // Nonmodal 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 "Contents"
  25. #define kLit2 "Display help topics"
  26. #define kLit3 "Using Help"
  27. #define kLit4 "Display instructions for using this Help window"
  28. #define kLit5 "Back"
  29. #define kLit6 "Back up to the previous help topic"
  30. #define kLit7 "Index"
  31. #define kLit8 "Display help index"
  32.  
  33.  
  34. /************************** LOCALIZED STRING CONSTANTS END **************************************/
  35. /************************** LOCALIZED STRING CONSTANTS END **************************************/
  36. /************************** LOCALIZED STRING CONSTANTS END **************************************/
  37.  
  38.  
  39.  
  40. /************************** LOCALIZED NUMERICAL CONSTANTS BEGIN **************************************/
  41. /************************** LOCALIZED NUMERICAL CONSTANTS BEGIN **************************************/
  42. /************************** LOCALIZED NUMERICAL CONSTANTS BEGIN **************************************/
  43.  
  44. //This section contains integer constants that are used to format this VDL program.
  45. //These are localizable - they only need to be changed if the localized strings 
  46. //are sufficiently longer than the US strings. Localize the strings first, then the constants.
  47.  
  48.  
  49.  
  50. /************************** LOCALIZED NUMERICAL CONSTANTS END **************************************/
  51. /************************** LOCALIZED NUMERICAL CONSTANTS END **************************************/
  52. /************************** LOCALIZED NUMERICAL CONSTANTS END **************************************/
  53.  
  54. //No further localizable data past this point
  55.  
  56. /************************** END LOCALIZABLE DATA ***************************************************/
  57. /************************** END LOCALIZABLE DATA ***************************************************/
  58. /************************** END LOCALIZABLE DATA ***************************************************/
  59.  
  60.  
  61. #define Gap Spacer(Width=10, Height=UseParent)
  62.  
  63. #define ccHelpTopics                    3450
  64. #define ccHelpUsing                    3451
  65. #define ccHelpIndex                    3452
  66. #define ccNonModalHelpBack            3459
  67.  
  68. Define(MainToolbarList)
  69.     HList(BackColor = {57015, 57015, 57015}, Width = UseParent)
  70.         {
  71.         PushButton( kLit1, ccHelpTopics, "None",
  72.                         EH kLit2 );
  73.         Gap;
  74.         PushButton( kLit7, ccHelpIndex, "None",
  75.                         EH kLit8 );
  76.         Gap;
  77.         PushButton( kLit3, ccHelpUsing, "None",
  78.                         EH kLit4 );
  79.         Spacer(Width=UseParent, Height=UseParent);
  80.         PushButton( kLit5, ccNonModalHelpBack, "None",
  81.                         EH kLit6 );
  82.         } // HList
  83.  
  84.  
  85. #if Platform_Mac
  86.     Margin(2,2,2,3, Custom = "HeaderBarMarginProc", Width = UseParent)
  87.         Margin(4,3,3,4, stdBackColor)
  88.             Call(MainToolbarList);
  89. #else
  90. VList(Width = UseParent, stdBackColor)
  91.     {
  92.     Margin(4,4,4,4, Width = UseParent)
  93.         Call(MainToolbarList);
  94.         
  95.     Spacer(Height = 1, Width = UseParent, BackColor = DkGray);
  96.     Spacer(Height = 1, Width = UseParent, BackColor = Black);
  97.     }
  98. #endif
  99.  
  100.