home *** CD-ROM | disk | FTP | other *** search
/ PC Gamer 4.10 / 1999-04_Disc_4.10.bin / ELINK / CLARISHP / _SETUP.1 / HOMEPAGE.exe / 1009 / 172 < prev    next >
Text File  |  1997-02-20  |  4KB  |  117 lines

  1. // -----
  2. // VDL172.txt
  3. // Copyright 1996 Claris
  4. // -----
  5.  
  6.  
  7.  
  8. //Frame Wizard
  9. /************************** LOCALIZED STRING CONSTANTS BEGIN **************************************/
  10. /************************** LOCALIZED STRING CONSTANTS BEGIN **************************************/
  11. /************************** LOCALIZED STRING CONSTANTS BEGIN **************************************/
  12.  
  13. //This section contains all localizable string constants for this VDL program. Be sure to 
  14. //include the backslash character at the end of each line of a multi-line string, except for the last line.
  15. //You may also flatten multiline constants into a single line, if you prefer
  16.  
  17. #define kLit1 "Select files for inclusion in the new Frame Document:"
  18. #define kLit2 "Add &File..."
  19. #define kLit3 "&Document Orientation:"
  20. #define kLit4 "Horizontal  "
  21. #define kLit5 "Vertical"
  22.  
  23. //Note: the file name will probably not change, but the name of the "Help" folder
  24. //probably will. Note that the translated name MUST be 8 chars or less.
  25. #define kHelpURL "Help/FrameWiz.htm"
  26. #define kHelpTitle "&Help"
  27.  
  28. /************************** LOCALIZED STRING CONSTANTS END **************************************/
  29. /************************** LOCALIZED STRING CONSTANTS END **************************************/
  30. /************************** LOCALIZED STRING CONSTANTS END **************************************/
  31.  
  32.  
  33.  
  34. /************************** LOCALIZED NUMERICAL CONSTANTS BEGIN **************************************/
  35. /************************** LOCALIZED NUMERICAL CONSTANTS BEGIN **************************************/
  36. /************************** LOCALIZED NUMERICAL CONSTANTS BEGIN **************************************/
  37.  
  38. //This section contains integer constants that are used to format this VDL program.
  39. //These are localizable - they only need to be changed if the localized strings 
  40. //are sufficiently longer than the US strings. Localize the strings first, then the constants.
  41.  
  42. #define kFilesListWidth     450
  43. #define kFilesListHeight     200
  44.  
  45. //Width of the "Add File" button and, on Windows, the "Help" button.
  46. #define kAddFileButtonWidth 100
  47.  
  48. /************************** LOCALIZED NUMERICAL CONSTANTS END **************************************/
  49. /************************** LOCALIZED NUMERICAL CONSTANTS END **************************************/
  50. /************************** LOCALIZED NUMERICAL CONSTANTS END **************************************/
  51.  
  52. //No further localizable data past this point
  53.  
  54. /************************** END LOCALIZABLE DATA ***************************************************/
  55. /************************** END LOCALIZABLE DATA ***************************************************/
  56. /************************** END LOCALIZABLE DATA ***************************************************/
  57.  
  58. #if Platform_Mac
  59.     #define DlogBack BackColor = {65535, 65535, 65535}
  60. #else
  61.     #define DlogBack BackColor = Dialog
  62. #endif
  63.  
  64.  
  65.  
  66. Margin(5,5,5,5, DlogBack)
  67.     VList()
  68.     {
  69.     StaticText(kLit1);
  70.     Spacer(Height = 10, Width = 0);
  71.     
  72.     #if Platform_Win
  73.     Margin(0,0,1,0, BackColor = Black)
  74.         VList(Height = kFilesListHeight, Width = kFilesListWidth, VScroll)
  75.             Margin(10, 5, 0, 0, BackColor = White)
  76.                 GenericView("FrameWizardFileList");    
  77.     #else
  78.         VList(Height = kFilesListHeight, Width = kFilesListWidth, VScroll)
  79.             Margin(10, 5, 0, 0, BackColor = White)
  80.                 GenericView("FrameWizardFileList");    
  81.     #endif
  82.     
  83.     Spacer(Height = 10, Width = 0);
  84.     
  85.     HList(Width = UseParent)
  86.         {
  87.         CancelButton(kLit2, 0, "AddFileToFrameWizardList", Width = kAddFileButtonWidth);
  88.         Spacer(Height = 0, Width = UseParent);
  89.         IntegerPopup( kLit3, Default, FrameOrientation)
  90.             {
  91.             IntItem(kLit4, 0);
  92.             IntItem(kLit5, 1);
  93.             };
  94.         }
  95.         
  96.     Spacer(Height = 10, Width = 0);
  97.     
  98.     HList(Width = UseParent)
  99.         {
  100.         #if Platform_Mac
  101.         Spacer(Height = 0, Width = 5);
  102.         PictPushButton(4000, "ContextHelpProc", HelpFile = kHelpURL)
  103.             {
  104.             Enabled(Draw, 'cicn',14055 );
  105.             Disabled(Draw, 'cicn',14057 ); 
  106.             Tracking(Draw, 'cicn',14056 );
  107.             };
  108.         #else
  109.         PushButton(kHelpTitle, 4000, "ContextHelpProc", HelpFile = kHelpURL, Width = kAddFileButtonWidth);
  110.         #endif
  111.  
  112.         StandardDialogButtonsH;
  113.         }
  114.         
  115.     } // VList
  116.  
  117.