home *** CD-ROM | disk | FTP | other *** search
/ Programmer 7500 / MAX_PROGRAMMERS.iso / VISUAL_B / CODIGO_2 / RESOCD / RES_MAIN.FRM (.txt) < prev    next >
Encoding:
Visual Basic Form  |  1995-03-17  |  8.8 KB  |  298 lines

  1. Form1
  2. Resource Bar
  3. MS Sans Serif
  4. Form1%
  5. Panel1
  6. SSPanel
  7. Arial
  8. Timer1
  9. Label1
  10. +--------- I N I T I A L I Z I N G ---------
  11. MS Sans Serif
  12. Command3D1_Click
  13. Form1$
  14. border{
  15. BorderStyle5
  16. Form_Clickl
  17. Panel1C
  18. fontnameX
  19. timesb
  20. @    Form_Load
  21. Panel1_DragDrop
  22. Source
  23. Text1_Change
  24. Text1_GotFocus
  25. R_main-
  26. Text1_KeyDown
  27. KeyCode
  28. ShiftY
  29. Label1_Click
  30. Label1_DblClick
  31. Label1_MouseUp
  32. Button
  33. Label1_MouseDown$
  34. GetFreeSpace
  35. wFlags
  36. GetFreeSystemResourcesg
  37. fuSysResource
  38. GFSR_SYSTEMRESOURCES
  39. GFSR_GDIRESOURCES5
  40. GFSR_USERRESOURCES
  41. CurrentTimeg
  42. CurrentTimer
  43. CaptionX
  44. Lable1{
  45. Label1 
  46. ayNum
  47. DayNum
  48. Today
  49. Timer1_Timer
  50. Text1
  51. Text{
  52. Text2
  53. Text3
  54. Text4
  55. SysRes
  56. GdiRes
  57. UseResv
  58. TotReso
  59. MemoryC
  60. MemFree
  61. SetWindowPosV
  62. hWndy
  63. hWndInsertAfterW
  64.     AsInteger
  65. On_Topr
  66. Normal
  67. GetVersion
  68. WinVer
  69. DosVer
  70. WinVersion!
  71. DosVersion
  72. CurrentVersion
  73. title
  74. KEY_ESCAPE_
  75. Answer:
  76. Form_KeyPress
  77. KeyAsciic
  78. KEY_UPS
  79.     KEY_RIGHT.
  80. KEY_DOWN6
  81. KEY_LEFT[
  82. KEY_NUMPAD8"
  83. SWP_NOMOVE'
  84. SWP_NOSIZE
  85. FLAGS
  86. HWND_TOPMOST`
  87. HWND_NOTOPMOST
  88. TOPMOST
  89. success
  90. Form_KeyDownP
  91. Escape@
  92. Escape_Nowp
  93. Move_UpG
  94. DOWNU
  95.     Move_Down
  96. RightArrow,
  97.     LeftArrow,
  98. UpArrow|
  99.     DownArrow
  100. Move_Right#
  101.     Move_Left
  102. OnTop
  103. NotOnTop
  104. sgBoxv
  105. lowbyte
  106. highbyte
  107. ScreenHeightz
  108. ScaleHeight
  109. ScreenWidth
  110. ScaleWidtha
  111. Height$    
  112. Width
  113. Screen
  114. Form_GotFocus
  115. BlackF
  116. GREENj
  117. YELLOWS
  118. MAGENTA
  119. White
  120.     ForeColorC
  121.     FontColorL
  122.     BackColor
  123. Form_LostFocus
  124. GetActiveWindowj
  125. FOCUS
  126. TRUE7
  127. False
  128. Lost_Focusv    
  129. handle
  130. Help_Me
  131. KEY_F1
  132. First
  133. Mess1
  134. Mess2
  135. Mess3
  136. Mess47
  137. Mess5
  138. Mess6
  139. Mess7
  140. Mess8!
  141. Form_DblClick0    
  142. Mess9W
  143. Mess10
  144. PageDown
  145. PageUp
  146.     CTRL_MASKC
  147. Key_F2
  148.     ShiftDown6
  149. CtrlDownd
  150. AltDown)
  151. rseres
  152. SndPlaySound
  153. WavFilen
  154. The_Hour
  155. result
  156. FileName
  157. clock
  158. ValLeft
  159.     snd_async
  160. result2
  161. result1K    
  162. result3
  163. AllowFormMove
  164. MStartX]    
  165. MStartY
  166. Label1_MouseMove@    
  167. AllowFormToMove
  168. IfAllowFormToMove
  169. POINTAPI
  170. GetCursorPos6
  171. lpPoint
  172. ScreenToClient
  173. Left_Button
  174. CurPos
  175. MyPosX
  176. MyPosY
  177. timmyY
  178. SHIFT_MASK
  179. Key_Tab
  180.     ThenForm1
  181. GetPrivateProfileInt
  182.     lpAppName
  183.     lpKeyName
  184. nDefault
  185. lpFileName
  186. GetPrivateProfileString
  187.     lpDefault}
  188. lpReturnedString
  189. nSize
  190. WritePrivateProfileString
  191. lpString
  192. lplFileName
  193. ReadIniB
  194. AppName
  195. KeyNamec
  196. DefaultStr
  197.     ReturnStrM
  198. Numeric
  199. IniFileName
  200. RetStr
  201. lenRetString
  202. Writeini
  203. SaveInio
  204. NewVal
  205. ResultCode
  206. version
  207. strings
  208. Constant
  209. GetStr
  210. DefltStr
  211.     TopOfHour
  212. LngthOfRetStr
  213. LnghtOf
  214. BottOfHour
  215. Form2%
  216. Form_DragDrop
  217. NewPosX
  218. NewPosY
  219. Form_MouseDown
  220. Form_MouseMove
  221. Calljunk
  222. Show1
  223. Control
  224. Escape_Now
  225. Take away the ON TOP feature in case user hass
  226.  positioned "bar" in front of message box then
  227.  put the question to them. Then either exit or reinstate
  228.  the ON TOP feature.
  229. Terminate Resource Bar?
  230. Resource Bar
  231. Form_DragDrop
  232. Move form with mouse
  233. Form_KeyDown
  234. bring up the help or escape forms if asked
  235. Move form around with arrow keys
  236. Form_Load
  237. carrage return for message boxes
  238. -- Extract the Major and Minor revisions and build
  239.  the version strings (this won't run in Win 3.0)
  240.  lowbyte is derived by masking off high byte
  241.  highbyte is derived by masking off low byte and shiftingr
  242.  assign windows version to text property
  243. This Program Must Have Windows
  244. Version 3.1 Or Higher
  245. Resource Bar
  246. Position in lower right corner
  247. Stay on Top0
  248. read .ini file
  249. Does user want BigBen,DING, or nothing at top of hour"
  250. RESOURCE BAR
  251. TOPOFHOUR
  252. BIGBEN
  253. RESOURCE.INI
  254. Does user want DING or nothing at bottom of hour
  255. RESOURCE BAR
  256. BOTTOFHOUR
  257. RESOURCE.INI
  258. Form_LostFocus
  259. Label1_Click
  260. Label1_DblClick
  261. Label1_MouseDown
  262. Move form with mouse
  263. Label1_MouseMove
  264. Move form with mouse
  265. Call origionally I put junk% =
  266. SaveIni
  267.  Update INI file
  268. Error updating INI file!
  269. ERROR!
  270. Timer1_Timer
  271. Gather info for barr
  272. #####
  273. Putting today's date and current time on the lable 1st, then the day, then the date, then the Kb, then the % Freee
  274. h:mm:ss AM/PM
  275. m/d/yy
  276. % Free
  277. DING on the hour
  278. Check for top of hour
  279. If user didn't select "no 
  280.  sound" then continuef
  281. BIGBEN
  282. bigben
  283. h:mm:ss
  284. 00:00
  285. h:mm am/pm
  286. allow for the "windup chime" vs "reg. chime"
  287. DING on 1/2 hr
  288. If user didn't select "noe
  289.  sound" then continue 
  290. check for the bott. of hourr
  291. hh:mm:ss
  292. 30:00
  293. ding.wav
  294. Watch when form loses focusm
  295.  Compare the handle of the currently active Window 0
  296.  with the handle of the Form1 window:a
  297. Do form's lost-focus routines here.y
  298.