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

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