home *** CD-ROM | disk | FTP | other *** search
/ Programmer 7500 / MAX_PROGRAMMERS.iso / VISUAL_B / ARQS_ZIP / MAINF.ZIP / JOHN.TXT < prev    next >
Encoding:
Text File  |  1992-07-05  |  2.9 KB  |  82 lines

  1. Notes to John
  2.  
  3. GENERAL
  4.  
  5. John, I made some explicit notes below as to some changes I
  6. made to your forms and modules.  I tried to note the changes
  7. that you might miss while integrating my work.  Obviously,
  8. there are a number of changes to the global module which are
  9. not mentioned here.  For the most part, I tried to put 
  10. declarations in the other modules.
  11.  
  12. I was successful in eliminating all Muscle routines.  However,
  13. I did have to use the freebie CtrlhWnd.dll that Jonathon Z.
  14. uploaded to the VB lib a long time ago.  It's a small dll and
  15. should be easily available to everyone.  Unfortunately, the 
  16. other VB/API methods of getting the hwnd wouldn't work for
  17. various reasons.
  18.  
  19. So, the only other DL that's REQUIRED is CtrlhWnd.Dll.
  20. However, I strongly recommend that everyone download
  21. Sectns.Lst (or Sectns.Arc) from the Practice library.
  22. It's a pretty big DL, but it's free.  It really makes
  23. adding forums to the config files slick, because it 
  24. not only provides a list of available forums, but also
  25. provides the GoWord, Gateway, Sections and Libraries.  
  26.  
  27. Call me if you want to chat about any of this.
  28.  
  29. BTW, there's nothing new here.  No new Host or Pass Option
  30. forms.  Believe me, I had my hands full just integrating
  31. this stuff and eliminating Muscle.  I believe integration
  32. is gonna be one tuff task in putting Lurker together.
  33.  
  34.  
  35. SUB MAIN
  36.  
  37.   1.  I took out loading Browser because it wants to open
  38. files during load procedure.  If we do this and user hasn't
  39. gone through configuration process, we'll generate all kinds
  40. of file open errors since program/message directories won't
  41. be designated.  
  42.  
  43.   2.  I changed the startup to let some global variables be
  44. initiated while the splash screen is showing.  Also, the 
  45. Sub Main procedure waits until the Lurker form is visible
  46. and then, if there's no Lurker program path in Win.ini, it
  47. runs a configure Lurker routine.
  48.  
  49. STARTUP.FRM
  50.  
  51.   1.  In Timer event, need to place "Timer1.Enabled = 0"
  52. before Unload Startup.  Otherwise, Startup form gets
  53. reloaded.
  54.  
  55.   2.  I added code in Form_Load event to center form.  
  56. Actually, I just called a new procedure CenterForm, which 
  57. is in Utils.Bas
  58.  
  59.  
  60. UTILS.BAS
  61.  
  62.   1.  I added CenterForm procedure which just centers
  63. the passed form on the screen.  It also sets WindowState
  64. to 0 (normal).
  65.  
  66.   2.  I added FioMsgBox() and SioMsgBox which add system
  67. sound events to VB MsgBox function and procedure.  Use same
  68. parameters and return same values as VB functions.
  69.  
  70.   3.  I added a number of other routines, e.g. ClearList and
  71. SelectItem, which are mostly self-explanatory.  SelectItem
  72. selects the passed search string in the designated listbox
  73. or combo box.
  74.  
  75. BROWSER.FRM
  76.  
  77.   1.  In Form.Load procedure cmbThread_Click is not necessary
  78. since you set the ListIndex in the previous statement
  79.  
  80. LURKER.FRM
  81.  
  82.   1.  I added call to CenterForm in Form.Load procedure