home *** CD-ROM | disk | FTP | other *** search
/ Programming Tool Box / SIMS_2.iso / vb_code1 / grid_inp / gridinpt.frm (.txt) < prev    next >
Visual Basic Form  |  1991-11-14  |  6KB  |  234 lines

  1. Form1
  2. Grid Routines
  3. Form1,
  4. Label5
  5. 8Use Ctrl-Up, Ctrl-Down, Ctrl-Right, Ctrl-Left to Scroll.
  6. Grid1
  7. Label1
  8. Label3
  9. Label2
  10. Label4
  11. Command1
  12. &Del Row
  13. Command1
  14. &Add Row
  15. Command1
  16. &Clear Grid
  17. Command1
  18. &To Clipbd
  19. Command1
  20. &Save Grid
  21. Command1
  22. &Load Grid
  23. Command1
  24. &Quit
  25. Text1
  26. ControlhWnd
  27. BringWindowToTop
  28. hWndG
  29. SetWindowPos
  30. hWndInsertAfter
  31. wFlags
  32. GetNextWindow
  33. wFlagX
  34. IsWindowVisiblex
  35. GetActiveWindow
  36.     GetParent
  37.     SetParentC
  38.     hWndChild2
  39. hWndNewParent
  40. GetWindowLong
  41. nIndex
  42. SetWindowLong
  43.     dwNewLong
  44. WS_CLIPSIBLINGS
  45. SWP_NOSIZE
  46. SWP_NOMOVE
  47. SWP_NOZORDER
  48. SWP_NOREDRAW
  49. SWP_NOACTIVATE
  50. SWP_DRAWFRAME
  51. SWP_SHOWWINDOWi
  52. SWP_HIDEWINDOW
  53. SWP_NOCOPYBITSd
  54. SWP_NOREPOSITIONK
  55. GW_HWNDLAST
  56. GW_HWNDNEXT
  57. GW_HWNDPREV
  58. GWL_WNDPROC
  59. GWW_HINSTANCEj
  60. GWW_HWNDPARENT
  61. GWW_ID
  62.     GWL_STYLE
  63. GWL_EXSTYLE
  64. Truez
  65. Falseq
  66. XStart
  67. YStart'
  68.     OKToMove1)
  69.     OKToMove2
  70.     OKToMove3
  71.     OKToMove4y
  72.     OKToMove6
  73. WindowStack
  74. NumOfControls
  75. hWndWindowToMoveo
  76. NeedsFixing
  77. GW_HWNDFIRST
  78. GW_OWNER
  79. GW_CHILDl
  80. SetClipSibling
  81. Parentv
  82.     GetWindow
  83. SetClipSiblingBit
  84. Style
  85. WS_CLIPSIBLING
  86. Form_Clickw
  87.     Form_Loadf
  88. Form1
  89. Screen4
  90. Width
  91. Height~
  92. GetWindowsDirectoryV
  93. lpBuffer
  94. nSize
  95. WinDir
  96. ChessBmp
  97. OF_EXIST
  98. OpenFile/
  99. lpFileName
  100. lpReOpenBuff
  101. OFSTRUCT
  102. wStyle
  103. Buffer
  104. ChessPicH
  105. Picture
  106. MousePointer
  107. ChessPic_Click
  108. ChessPic_MouseDownV
  109. Button
  110. Shift
  111. OkToMoveChessPic
  112. ChessPic_MouseMove
  113. ChessHelpCmdBut
  114. Visible
  115. FormParenti
  116. ControlParentE
  117. ParentType
  118. AnyControl
  119. NestedSibling
  120. SetClipSiblingBits^
  121. hWndParentj
  122.     WindowPic
  123. Picture2_Click
  124. Picture2_MouseDownE
  125. OkToMovePicture2
  126. Picture2_MouseMovef
  127. Picture2
  128. Command1
  129. WindowPic_Click
  130. ChessHelpCmdBut_Clickq
  131. List1_Click?
  132. VegList
  133. MeatListz
  134.     FruitList
  135. PastryList
  136. TopListBoxU
  137. PrecedingListBox
  138. MeatList_Click
  139. MeatList_GotFocus
  140. FruitList_Click0
  141. FruitList_GotFocus@
  142. PastryList_Click%
  143. VegList_Click
  144. VegList_GotFocus
  145.     FillLists
  146. PastryList_GotFocus
  147. ClickedToGetFocus
  148. ShoppingList
  149.     ListIndex
  150. BringToTop
  151. ThisList
  152. InsertAfter
  153. ClickedToSetFocus
  154. OkToMoveWindowPic$
  155. GetWindowNext
  156. PyramidBmp:    
  157. PyramidPic
  158. Pyramid
  159. PyramidPic_ClickU
  160. Index
  161. PyramidPic_MouseDown
  162. Pic4'    
  163. OkToMovePyramidPicQ    
  164. PyramidPic_MouseMove
  165. Label3_Click\    
  166. FindLabel_Clicko    
  167. FindLabel_MouseDown
  168. OkToMoveFindPic
  169. FindLabel_MouseMove
  170. FindPic
  171. FindTitle_Click;
  172. FindTitle_MouseDown
  173. FindTitle_MouseMove
  174. Timer1_Timer
  175. hwndFindPic
  176. Timer1
  177. Enabled
  178. Purpose
  179. program
  180. demonstrate.
  181. Command1_Click}
  182. Grid1
  183.     colheight
  184. Text1
  185. Text1_Change
  186. Text1_KeyDown;
  187. KeyCode
  188. MoveCell
  189. ColWidth)
  190. GetFocusa
  191.     RowHeightm
  192. Label3
  193. Label4
  194. Caption
  195. Grid1_Click
  196. VScroll1_Change
  197. toprowH
  198. Grid1_KeyUpU
  199. DelRow1
  200.     InsertRow
  201.     ClearGrid
  202.     Grid2Clip
  203. SaveGrid
  204. LoadGrid
  205. Cancel
  206. SelStartCol
  207.     SelEndCol
  208. SelStartRow
  209.     SelEndRow
  210. Text1_GotFocus
  211. SelStart
  212.     SelLength
  213.     Copyright
  214. Nelson
  215. Public
  216. software
  217. Library
  218. Grid Scrolling And Control Program
  219. Copyright 1991 Nelson Ford, Public (software) Library
  220. For documentation and copyright license,
  221. '  see the file Grid.Bas
  222. The code in this module which allows overlapping controlsN
  223. was developed by Keith Funkk
  224. ctlhwnd.dll
  225. SetClipSiblingBit
  226. Form_Load
  227. get hWnd for the controls:
  228. Text1_KeyDown
  229. If keycode <> 17 Then Debug.Print keycodeo
  230. Command1_Click
  231. GridTest
  232. GridTest$
  233. keep the Grid highlight under the Text box: 
  234.