home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 10 / 10.iso / l / l391 / 4.ddi / CUSTINCL.H$ / CUSTINCL.bin
Encoding:
Text File  |  1992-08-19  |  4.8 KB  |  182 lines

  1. // ----------------------------------------------------------------------------
  2. // CUSTINCL.H: Custom Control Include File
  3. //
  4. // Custom control include file containing constant
  5. // definitions for Property, Event, Method and ControlType
  6. // ID numbers used for identification purposes in custom
  7. // control event handlers.
  8. //
  9. //
  10. // Copyright (C) 1982-1992 Microsoft Corporation
  11. //
  12. // You have a royalty-free right to use, modify, reproduce
  13. // and distribute the sample applications and toolkits provided with
  14. // Visual Basic for MS-DOS (and/or any modified version)
  15. // in any way you find useful, provided that you agree that
  16. // Microsoft has no warranty, obligations or liability for
  17. // any of the sample applications or toolkits.
  18. // ----------------------------------------------------------------------------
  19.  
  20. // Attribute IDs  (see custom control section of README.TXT for more
  21. //                 information about setting custom control attributes)
  22. //
  23. #define ATTR_AccessKey 0
  24. #define ATTR_AcceptFocus 1
  25. #define ATTR_TrapArrowKeys 2
  26. #define ATTR_TextCursor 3
  27.  
  28. // Text Cursor Attribute Values
  29. //
  30. #define TC_NoCursor 0           // No text cursor.
  31. #define TC_Underscore 1         // Blinking underscore cursor.
  32. #define TC_Block 2              // Blinking block cursor.
  33.  
  34. // Property IDs
  35. //
  36. #define PROP_Archive 1
  37. #define PROP_Attached 2
  38. #define PROP_AutoRedraw 3
  39. #define PROP_AutoSize 4
  40. #define PROP_Cancel 5
  41. #define PROP_Checked 6
  42. #define PROP_ControlBox 7
  43. #define PROP_Default 8
  44. #define PROP_Enabled 9
  45. #define PROP_Hidden 10
  46. #define PROP_MaxButton 11
  47. #define PROP_MinButton 12
  48. #define PROP_MultiLine 13
  49. #define PROP_Normal 14
  50. #define PROP_ReadOnly 15
  51. #define PROP_Separator 16
  52. #define PROP_Sorted 17
  53. #define PROP_System 18
  54. #define PROP_TabStop 19
  55. #define PROP_Visible 20
  56. #define PROP_Alignment 21
  57. #define PROP_BackColor 22
  58. #define PROP_BorderStyle 23
  59. #define PROP_CurrentX 24
  60. #define PROP_CurrentY 25
  61. #define PROP_DragMode 26
  62. #define PROP_ForeColor 27
  63. #define PROP_Height 28
  64. #define PROP_Left 29
  65. #define PROP_MousePointer 30
  66. #define PROP_ScaleHeight 31
  67. #define PROP_ScaleWidth 32
  68. #define PROP_ScrollBars 33
  69. #define PROP_Style 34
  70. #define PROP_TabIndex 35
  71. #define PROP_Top 36
  72. #define PROP_Width 37
  73. #define PROP_WindowState 38
  74. #define PROP_Index 39
  75. #define PROP_LargeChange 40
  76. #define PROP_ListCount 41
  77. #define PROP_ListIndex 42
  78. #define PROP_Max 43
  79. #define PROP_Min 44
  80. #define PROP_SelLength 46
  81. #define PROP_SelStart 47
  82. #define PROP_SmallChange 48
  83. #define PROP_TypeOf 49
  84. #define PROP_Value 50
  85. #define PROP_Action 54
  86. #define PROP_Column 55
  87. #define PROP_ControlID 56
  88. #define PROP_Mode 57
  89. #define PROP_Row 58
  90. #define PROP_Interval 59
  91. #define PROP_Caption 60
  92. #define PROP_Drive 61
  93. #define PROP_Filename 62
  94. #define PROP_List 63
  95. #define PROP_Path 64
  96. #define PROP_Pattern 65
  97. #define PROP_SelText 66
  98. #define PROP_Tag 67
  99. #define PROP_Text 68
  100. #define PROP_TypeID 69
  101.  
  102. // Method IDs
  103. //
  104. #define METHOD_AddItem 0
  105. #define METHOD_Cls 1
  106. #define METHOD_Hide 2
  107. #define METHOD_Move 3
  108. #define METHOD_Print 4
  109. #define METHOD_PrintForm 5
  110. #define METHOD_Refresh 6
  111. #define METHOD_RemoveItem 7
  112. #define METHOD_SetFocus 8
  113. #define METHOD_Show 9
  114. #define METHOD_Drag 12
  115.  
  116. // TypeOf property IDs
  117. //
  118. #define TYPEOF_Form 0
  119. #define TYPEOF_CheckBox 1
  120. #define TYPEOF_ComboBox 2
  121. #define TYPEOF_CommandButton 3
  122. #define TYPEOF_DirListBox 4
  123. #define TYPEOF_DriveListBox 5
  124. #define TYPEOF_FileListBox 6
  125. #define TYPEOF_Frame 7
  126. #define TYPEOF_HScrollBar 8
  127. #define TYPEOF_Label 9
  128. #define TYPEOF_ListBox 10
  129. #define TYPEOF_Menu 11
  130. #define TYPEOF_OptionButton 12
  131. #define TYPEOF_PictureBox 13
  132. #define TYPEOF_TextBox 14
  133. #define TYPEOF_Timer 15
  134. #define TYPEOF_VScrollBar 16
  135. #define TYPEOF_Extensible 17
  136.  
  137. // User events IDs
  138. //
  139. #define EVENT_Change 1
  140. #define EVENT_Click 2
  141. #define EVENT_Custom 3
  142. #define EVENT_DblClick 4
  143. #define EVENT_DragDrop 5
  144. #define EVENT_DragOver 6
  145. #define EVENT_DropDown 7
  146. #define EVENT_GotFocus 8
  147. #define EVENT_KeyDown 9
  148. #define EVENT_KeyPress 10
  149. #define EVENT_KeyUp 11
  150. #define EVENT_Load 12
  151. #define EVENT_LostFocus 13
  152. #define EVENT_MouseDown 14
  153. #define EVENT_MouseMove 15
  154. #define EVENT_MouseUp 16
  155. #define EVENT_Paint 17
  156. #define EVENT_PathChange 18
  157. #define EVENT_PatternChange 19
  158. #define EVENT_Resize 20
  159. #define EVENT_Timer 21
  160. #define EVENT_Unload 22
  161.  
  162. // Special custom control event IDs
  163. //
  164. #define EVENT_CustomLoad 23
  165. #define EVENT_IntegerGet 24
  166. #define EVENT_IntegerSet 25
  167. #define EVENT_LongGet 26
  168. #define EVENT_LongSet 27
  169. #define EVENT_StringGet 28
  170. #define EVENT_StringSet 29
  171. #define EVENT_CustomUnload 30
  172. #define EVENT_MethodAddItem 31
  173. #define EVENT_MethodCls 32
  174. #define EVENT_MethodHide 33
  175. #define EVENT_MethodMove 34
  176. #define EVENT_MethodPrint 35
  177. #define EVENT_MethodRefresh 37
  178. #define EVENT_MethodRemoveItem 38
  179. #define EVENT_MethodSetFocus 39
  180. #define EVENT_MethodShow 40
  181. #define EVENT_MethodDrag 43
  182.