home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 18 REXX / 18-REXX.zip / vptool.zip / vptext.csc < prev    next >
Text File  |  1994-01-19  |  2KB  |  94 lines

  1. ##########################################################
  2. #  VPText.CSC              by Dave Hock                 #
  3. #                                                        #
  4. ##########################################################
  5. #
  6. # Include the class definition file for the parent class
  7. #
  8. include <vpobj.sc>
  9.  
  10. #
  11. #   Define the new class
  12. #
  13. class: VPText,
  14.        file stem = VPText,
  15.        external prefix = vptexte_,
  16.        class prefix = vptextc_,
  17.        major version = 1,
  18.        minor version = 1,
  19.        local;
  20. #
  21. # Specify the parent class
  22. #
  23. parent: VPObj;
  24.  
  25. #
  26. # Specify the release order of new methods
  27. #
  28. passthru: C.ih;
  29.  
  30.  
  31.  
  32. endpassthru;
  33.  
  34.  
  35. passthru: C.h, after;
  36.  
  37. #define ID_POINTER 256
  38.  
  39. #define ID_ENTERPTR 257
  40. #define ID_CHANGEDPTR  258
  41. #define ID_EXITPTR 259
  42.  
  43. #include "VPTextdg.h"
  44.  
  45. endpassthru;
  46. #
  47. #
  48. # Define instance data for the class
  49. #
  50. data:
  51.  
  52. HMODULE hModResource,class;
  53. ULONG ulStyle;
  54. BOOL  bInitialized;
  55.  
  56. #
  57. # Define new methods
  58. #
  59. methods:
  60.  
  61.  
  62. ULONG GetStyle();
  63. --
  64. --  METHOD:   GetStyle
  65. --  PURPOSE:  Get the style word used for reseting
  66. --  INVOKED:  From style dialog in editor session
  67. --
  68.  
  69. VOID SetStyle(ULONG ulStyle);
  70. --
  71. --  METHOD:   SetStyle
  72. --  PURPOSE:  Set the style word used for reseting
  73. --  INVOKED:  From style dialog in editor session
  74. --
  75.  
  76. BOOL GetInitializedFlag();
  77. --
  78. --  METHOD:   GetInitializedFlag
  79. --  PURPOSE:  Get the initialized word
  80. --  INVOKED:  From style dialog in editor session
  81. --
  82.  
  83. VOID SetInitializedFlag(BOOL bInitialized);
  84. --
  85. --  METHOD:   SetInitializedFlag
  86. --  PURPOSE:  Set the initialized flag
  87. --  INVOKED:  From style dialog in editor session
  88. --
  89.  
  90.  
  91. override QueryClassInfo, class;
  92. override somInitClass, class;
  93. override InitHelpInstance, class;
  94.