home *** CD-ROM | disk | FTP | other *** search
/ Lion Share / lionsharecd.iso / utils_mz / v11n05.zip / WINPTR.RC < prev    next >
Text File  |  1992-01-03  |  4KB  |  106 lines

  1. //------------------------------------------------------------------------
  2. //
  3. //  WINPTR.RC -- Resource script for WINPTR.C
  4. //
  5. //  (c) Douglas Boling, 1992
  6. //
  7. //------------------------------------------------------------------------
  8.  
  9. #include <windows.h>
  10. #include "winptr.h"
  11.  
  12. WinPtr  ICON    "winptr.ico"
  13. //------------------------------------------------------------------------
  14. //
  15. //  Accelerator Definitions
  16. //
  17. //------------------------------------------------------------------------
  18.  
  19. WinPtr   ACCELERATORS {
  20.    VK_F1,         IDD_ABOUT,       VIRTKEY
  21.    "^h",          IDD_ABOUT
  22.    "^a",          IDD_ARROWONLY
  23.    "^p",          IDD_SETCUR
  24.    "^x",          IDD_EXIT
  25. }
  26.  
  27. //------------------------------------------------------------------------
  28. //
  29. //  Main window Dialog box
  30. //
  31. //------------------------------------------------------------------------
  32. WinPtr DIALOG LOADONCALL MOVEABLE DISCARDABLE 150, 70, 180, 90
  33. STYLE WS_BORDER | WS_CAPTION | WS_DLGFRAME | WS_SYSMENU | WS_MINIMIZEBOX
  34. CLASS "WinPtr"
  35. CAPTION "WinPtr"
  36. BEGIN
  37.  
  38.    ICON    "WinPtr"                          -1,  10,   5,   0,   0
  39.  
  40.    LTEXT "Movement Trigger",       IDD_MOVETEXT,   5,  25, 110,  10
  41.    SCROLLBAR                       IDD_MOVETRIG,   5,  35, 110,  12, WS_GROUP WS_TABSTOP
  42.    LTEXT "Persistance",            IDD_TIMETEXT,   5,  50, 110,  10
  43.    SCROLLBAR                       IDD_TIMETRIG,   5,  60, 110,  12, WS_TABSTOP
  44.    CHECKBOX, "Only Highlight &Arrow Cursor",
  45.                                   IDD_ARROWONLY,   5,  75, 110,  12, WS_TABSTOP
  46.  
  47.    PUSHBUTTON "Enable",              IDD_ENABLE, 130,  10,  45,  15, WS_TABSTOP
  48.    PUSHBUTTON "Set &Pointer",        IDD_SETCUR, 130,  30,  45,  15, WS_TABSTOP
  49.    PUSHBUTTON "&Help...",             IDD_ABOUT, 130,  50,  45,  15, WS_TABSTOP
  50.    PUSHBUTTON "E&xit",                 IDD_EXIT, 130,  70,  45,  15, WS_TABSTOP
  51.  
  52. END
  53.  
  54. //------------------------------------------------------------------------
  55. //
  56. //  About dialog box
  57. //
  58. //------------------------------------------------------------------------
  59.  
  60. About DIALOG LOADONCALL MOVEABLE DISCARDABLE 10, 27, 180,  190
  61.    STYLE WS_BORDER | WS_CAPTION | WS_DLGFRAME | WS_VISIBLE | WS_POPUP
  62. CAPTION "WinPtr Help"
  63. BEGIN
  64.    ICON    "WinPtr"                      -1,  10,  10,   0,   0
  65.  
  66.    CTEXT   "WinPtr",                     -1,  50,  10,  80,  10
  67.    CTEXT   "A Windows Pointer Locator",  -1,  30,  20, 120,  10
  68.    CTEXT   "Copyright \251 1992 Douglas Boling"
  69.                                           -1,  20,  30, 140,  10
  70.    CTEXT   "First published in PC Magazine"
  71.                                           -1,  20,  40, 140,  10
  72.    CTEXT   "March, 10, 1992"             -1,  20,  50, 140,  10
  73.  
  74.    DEFPUSHBUTTON "OK",                 IDOK,  70,  65,  40,  12
  75.  
  76.     CONTROL    "",-1, "static", SS_BLACKRECT,      5,  82, 170,   2
  77.     
  78.     LTEXT   "The Movement Trigger level is the number of",
  79.                                           -1,  10,  90, 160,  10
  80.  
  81.     LTEXT   "pixels the pointer must move before WinPtr",
  82.                                           -1,  10, 100, 160,  10
  83.  
  84.     LTEXT   "substitutes its block pointer for the regular", 
  85.                                           -1,  10, 110, 160,  10
  86.  
  87.     LTEXT   "Windows Pointer."
  88.                                           -1,  10, 120, 160,  10
  89.  
  90.     LTEXT   "The Persistance Time is the number of",
  91.                                           -1,  10, 135, 160,  10
  92.  
  93.     LTEXT   "milliseconds after the last trigger that",
  94.                                           -1,  10, 145, 160,  10
  95.  
  96.     LTEXT   "WinPtr will continue to substutute its pointer.", 
  97.                                           -1,  10, 155, 160,  10
  98.  
  99.     LTEXT   "This delay allows you to slow the pointer"
  100.                                           -1,  10, 165, 160,  10
  101.     LTEXT   "movment while still having the block pointer."
  102.                                           -1,  10, 175, 160,  10
  103.  
  104. END
  105. 
  106.