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

  1. ' ----------------------------------------------------------------------------
  2. ' CUSTINCL.BI: 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. CONST ATTR_AccessKey = 0
  24. CONST ATTR_AcceptFocus = 1
  25. CONST ATTR_TrapArrowKeys = 2
  26. CONST ATTR_TextCursor = 3
  27.  
  28. ' Text Cursor Attribute Values
  29. '
  30. CONST TC_NoCursor = 0           ' No text cursor.
  31. CONST TC_Underscore = 1         ' Blinking underscore cursor.
  32. CONST TC_Block = 2              ' Blinking block cursor.
  33.  
  34. ' Property IDs
  35. '
  36. CONST PROP_Archive = 1
  37. CONST PROP_Attached = 2
  38. CONST PROP_AutoRedraw = 3
  39. CONST PROP_AutoSize = 4
  40. CONST PROP_Cancel = 5
  41. CONST PROP_Checked = 6
  42. CONST PROP_ControlBox = 7
  43. CONST PROP_Default = 8
  44. CONST PROP_Enabled = 9
  45. CONST PROP_Hidden = 10
  46. CONST PROP_MaxButton = 11
  47. CONST PROP_MinButton = 12
  48. CONST PROP_MultiLine = 13
  49. CONST PROP_Normal = 14
  50. CONST PROP_ReadOnly = 15
  51. CONST PROP_Separator = 16
  52. CONST PROP_Sorted = 17
  53. CONST PROP_System = 18
  54. CONST PROP_TabStop = 19
  55. CONST PROP_Visible = 20
  56. CONST PROP_Alignment = 21
  57. CONST PROP_BackColor = 22
  58. CONST PROP_BorderStyle = 23
  59. CONST PROP_CurrentX = 24
  60. CONST PROP_CurrentY = 25
  61. CONST PROP_DragMode = 26
  62. CONST PROP_ForeColor = 27
  63. CONST PROP_Height = 28
  64. CONST PROP_Left = 29
  65. CONST PROP_MousePointer = 30
  66. CONST PROP_ScaleHeight = 31
  67. CONST PROP_ScaleWidth = 32
  68. CONST PROP_ScrollBars = 33
  69. CONST PROP_Style = 34
  70. CONST PROP_TabIndex = 35
  71. CONST PROP_Top = 36
  72. CONST PROP_Width = 37
  73. CONST PROP_WindowState = 38
  74. CONST PROP_Index = 39
  75. CONST PROP_LargeChange = 40
  76. CONST PROP_ListCount = 41
  77. CONST PROP_ListIndex = 42
  78. CONST PROP_Max = 43
  79. CONST PROP_Min = 44
  80. CONST PROP_SelLength = 46
  81. CONST PROP_SelStart = 47
  82. CONST PROP_SmallChange = 48
  83. CONST PROP_TypeOf = 49
  84. CONST PROP_Value = 50
  85. CONST PROP_Action = 54
  86. CONST PROP_Column = 55
  87. CONST PROP_ControlID = 56
  88. CONST PROP_Mode = 57
  89. CONST PROP_Row = 58
  90. CONST PROP_Interval = 59
  91. CONST PROP_Caption = 60
  92. CONST PROP_Drive = 61
  93. CONST PROP_Filename = 62
  94. CONST PROP_List = 63
  95. CONST PROP_Path = 64
  96. CONST PROP_Pattern = 65
  97. CONST PROP_SelText = 66
  98. CONST PROP_Tag = 67
  99. CONST PROP_Text = 68
  100. CONST PROP_TypeID = 69
  101.  
  102. ' Method IDs
  103. '
  104. CONST METHOD_AddItem = 0
  105. CONST METHOD_Cls = 1
  106. CONST METHOD_Hide = 2
  107. CONST METHOD_Move = 3
  108. CONST METHOD_Print = 4
  109. CONST METHOD_PrintForm = 5
  110. CONST METHOD_Refresh = 6
  111. CONST METHOD_RemoveItem = 7
  112. CONST METHOD_SetFocus = 8
  113. CONST METHOD_Show = 9
  114. CONST METHOD_Drag = 12
  115.  
  116. ' TypeOf property IDs
  117. '
  118. CONST TYPEOF_Form = 0
  119. CONST TYPEOF_CheckBox = 1
  120. CONST TYPEOF_ComboBox = 2
  121. CONST TYPEOF_CommandButton = 3
  122. CONST TYPEOF_DirListBox = 4
  123. CONST TYPEOF_DriveListBox = 5
  124. CONST TYPEOF_FileListBox = 6
  125. CONST TYPEOF_Frame = 7
  126. CONST TYPEOF_HScrollBar = 8
  127. CONST TYPEOF_Label = 9
  128. CONST TYPEOF_ListBox = 10
  129. CONST TYPEOF_Menu = 11
  130. CONST TYPEOF_OptionButton = 12
  131. CONST TYPEOF_PictureBox = 13
  132. CONST TYPEOF_TextBox = 14
  133. CONST TYPEOF_Timer = 15
  134. CONST TYPEOF_VScrollBar = 16
  135. CONST TYPEOF_Extensible = 17
  136.  
  137. ' User events IDs
  138. '
  139. CONST EVENT_Change = 1
  140. CONST EVENT_Click = 2
  141. CONST EVENT_Custom = 3
  142. CONST EVENT_DblClick = 4
  143. CONST EVENT_DragDrop = 5
  144. CONST EVENT_DragOver = 6
  145. CONST EVENT_DropDown = 7
  146. CONST EVENT_GotFocus = 8
  147. CONST EVENT_KeyDown = 9
  148. CONST EVENT_KeyPress = 10
  149. CONST EVENT_KeyUp = 11
  150. CONST EVENT_Load = 12
  151. CONST EVENT_LostFocus = 13
  152. CONST EVENT_MouseDown = 14
  153. CONST EVENT_MouseMove = 15
  154. CONST EVENT_MouseUp = 16
  155. CONST EVENT_Paint = 17
  156. CONST EVENT_PathChange = 18
  157. CONST EVENT_PatternChange = 19
  158. CONST EVENT_Resize = 20
  159. CONST EVENT_Timer = 21
  160. CONST EVENT_Unload = 22
  161.  
  162. ' Special custom control event IDs
  163. '
  164. CONST EVENT_CustomLoad = 23
  165. CONST EVENT_IntegerGet = 24
  166. CONST EVENT_IntegerSet = 25
  167. CONST EVENT_LongGet = 26
  168. CONST EVENT_LongSet = 27
  169. CONST EVENT_StringGet = 28
  170. CONST EVENT_StringSet = 29
  171. CONST EVENT_CustomUnload = 30
  172. CONST EVENT_MethodAddItem = 31
  173. CONST EVENT_MethodCls = 32
  174. CONST EVENT_MethodHide = 33
  175. CONST EVENT_MethodMove = 34
  176. CONST EVENT_MethodPrint = 35
  177. CONST EVENT_MethodRefresh = 37
  178. CONST EVENT_MethodRemoveItem = 38
  179. CONST EVENT_MethodSetFocus = 39
  180. CONST EVENT_MethodShow = 40
  181. CONST EVENT_MethodDrag = 43
  182.