home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / sel_ml.zip / README < prev    next >
Text File  |  1995-01-18  |  2KB  |  56 lines

  1. SEL_MLE:
  2.  
  3. DATE: 16 January 1995
  4. APPL: GPFREXX
  5. PURPOSE: a function to auto-select entire MLE contents
  6.  
  7. I have built a DLL which provides such a function, first because a GpfRexx user
  8. requested it and second as a programming excercise. If you decide to try it, please (!)
  9. copy the DLL to a directory known to your LIBPATH environment variable.
  10.  
  11. The DLL initially has one visible function, which must be added then invoked:
  12.     Call RxFuncAdd 'GpfRexxMleLoadFuncs','GPFRXMLE',GpfRexxMleLoadFuncs'
  13.     Call GpfRexxMleLoadFuncs
  14. This can be done from a .CMD file (such as STARTUP.CMD) or from a User Function
  15. in your GpfRexx application (perhaps at InitApp or Window Init)
  16.  
  17. If done from your app, you will probably want to unload this stuff:
  18.     Call GpfRexxMleDropFuncs
  19. A likely time would be EndApp or Window Destroy.
  20.  
  21. The included .ORC file has four user functions, which you can inspect via the OBJECT menu.
  22. The functions names should point to their attach times/points.
  23.  
  24. I did not include the source and production files for personal reasons, and the fact that 
  25. the preceding functions are a snippet of a larger work-in-progress.
  26. Don't ask why.
  27.  
  28. If this works for you, and you need the source badly, let me know
  29. and I will put it into human-readable form. I will also change the
  30. function prefix from something other than 'GpfRexx...'. This prefix
  31. should probably be left for (possible) use by the author, JB Clerin.
  32.  
  33. 18 January
  34. ----------
  35.     A function, DestroyWindow, has been added for test by another
  36. user, having nobearing on the MLE problem. It was simply convenient.
  37. USAGE:
  38.     handle= QueryHandle('WindowName') /* as you defined it */
  39.     DestroyWindow(handle)
  40.  
  41. This User Function can be invoked from the normal anchor points. The
  42. best one, probably, is Hide Window, invoked from the client window's
  43. Action dialog. This ensures that the window is not simply made
  44. invisible, the Gpf standard, but is truly destroyed. The user must
  45. use this with caution on a test application... I don't know the
  46. ramifications, if any. I hope GpfRexx does not get confused by a
  47. vanished window.
  48.  
  49. AC
  50.  
  51.  
  52.  
  53. Alexander 'Bob Guru' Charov
  54.  
  55.  
  56.