home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 5 / Apprentice-Release5.iso / Source Code / C++ / Frameworks / Argus Frameworks 2.1 / Argus Starter 2.1 / Dialogs / SampleDialogBalloons.r < prev    next >
Encoding:
Text File  |  1996-01-04  |  3.2 KB  |  149 lines  |  [TEXT/KAHL]

  1. /**********************************************************************
  2.  
  3.     SampleDialogBalloons.r
  4.  
  5. ***********************************************************************/
  6.  
  7. #include <Types.r>
  8. #include <BalloonTypes.r>
  9.  
  10. resource 'hdlg' (500, "Sample Dialog Balloons", purgeable){
  11.   /* Header */
  12.   HelpMgrVersion,
  13.   0,                  /* start help with first item in DITL */
  14.   hmDefaultOptions,   /* hmDefaultOptions or hmSaveBitsNoWindow */
  15.   0,                  /* balloon definition */
  16.   5,                  /* variation code or position code, reference
  17.                          IM: More Macintosh Toolbox p3-10 */
  18.   
  19.   /* Missing Component */
  20.   HMSkipItem {
  21.   },
  22.   
  23.   /* Help */
  24.   {
  25.     /* [1] */
  26.     HMStringREsItem { /* store help messages in STR# 500 */
  27.     { 10, 10 },       /* default tip location is { 0, 0 } */
  28.     { 0, 0, 0, 0 },   /* default alternate rectangle */
  29.     500, 1,           /* OK button */
  30.     0, 0,             /* never dimmed */
  31.     0, 0,             /* never checked */
  32.     0, 0              /* never marked */
  33.     },
  34.     
  35.     /* [2] */
  36.     HMStringREsItem {
  37.     { 10, 10 },
  38.     { 0, 0, 0, 0 },
  39.     500, 2,           /* Cancel button */
  40.     0, 0,
  41.     0, 0,
  42.     0, 0
  43.     },
  44.     
  45.     /* [3] */
  46.     HMSkipItem {      /* Name text */
  47.     },
  48.  
  49.     /* [4] */
  50.     HMSkipItem {      /* Phone text */
  51.     },
  52.  
  53.     /* [5] */
  54.     HMStringREsItem {
  55.     { 10, 10 },
  56.     { 0, 0, 0, 0 },
  57.     500, 3,           /* Name field */
  58.     0, 0,
  59.     0, 0,
  60.     0, 0
  61.     },
  62.     
  63.     /* [6] */
  64.     HMStringREsItem {
  65.     { 10, 10 },
  66.     { 0, 0, 0, 0 },
  67.     500, 4,           /* Phone text */
  68.     0, 0,
  69.     0, 0,
  70.     0, 0
  71.     },
  72.  
  73.     /* [7] */
  74.     HMStringREsItem {
  75.     { 5, 5 },
  76.     { 0, 0, 0, 0 },
  77.     500, 5,           /* Male button */
  78.     0, 0,
  79.     500, 6,           /* checked */
  80.     0, 0
  81.     },
  82.  
  83.     /* [8] */
  84.     HMStringREsItem {
  85.     { 3, 3 },
  86.     { 0, 0, 0, 0 },
  87.     500, 7,           /* Female button */
  88.     0, 0,
  89.     500, 8,           /* checked */
  90.     0, 0
  91.     },
  92.  
  93.     /* [9] */
  94.     HMSkipItem {      /* Phone text */
  95.     },
  96.  
  97.     /* [10] */
  98.     HMStringREsItem {
  99.     { 10, 1 },
  100.     { 0, 0, 0, 0 },
  101.     500, 9,            /* Married box */
  102.     0, 0,
  103.     500, 10,           /* checked */
  104.     0, 0
  105.     },
  106.  
  107.     /* [11] */
  108.     HMStringREsItem {
  109.     { 10, 10 },
  110.     { 0, 0, 0, 0 },
  111.     0, 0,
  112.     0, 0,
  113.     500, 11,          /* Popup */
  114.     500, 12           /* Popup */
  115.     },
  116.   }
  117. };
  118.  
  119. resource 'STR#' (500, "Sample Dialog Help Strings") {
  120.   {
  121.   /* [1] */
  122.   "To dismiss dialog and save changes, click this button.";
  123.   /* [2] */
  124.   "To dismiss dialog without saving changes, click this button.";
  125.   /* [3] */
  126.   "Enter persons name you wish to add to database.";
  127.   /* [4] */
  128.   "Enter persons phone number you wish to add "
  129.   "to the database.";
  130.   /* [5] */
  131.   "Click this radio button to identify person as male.";
  132.   /* [6] */
  133.   "Identifies person as male.";
  134.   /* [7] */
  135.   "Click this radio button to identify person as female.";
  136.   /* [8] */
  137.   "Identifies person as female.";
  138.   /* [9] */
  139.   "Check this box if person is married.";
  140.   /* [10] */
  141.   "Identifies person as being married.";
  142.   /* [11] */
  143.   "Use pop-up menu to select a database to add person to."; 
  144.   /* [12] */
  145.   "Use pop-up menu to select a database to add person to."; 
  146.   }
  147. };
  148.  
  149. // End of File