home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / pmlib.zip / ABSTRACT next >
Text File  |  1994-04-26  |  1KB  |  35 lines

  1. This is a bare-bones version of a class library.  The source code
  2. contained within is an excerpt from that library.  Initially, I
  3. was just going to take out the method I use to create the status bar /
  4. message bar / whatever, and present it separately from the rest of
  5. the code.
  6.  
  7. After thinking about it a little, I decided to leave the basic functionality
  8. of the library intact, in the hopes that it might turn somebody on to
  9. Object Oriented Programming after seeing how easy it is to write an
  10. app (cppapp.cpp) after you've layed the foundation.  The other reason
  11. was to show how to pull off some interesting tricks in PM.  And finally,
  12. I'm hoping that this won't remain stagnant; that as you and other
  13. people use it or parts of it, that you'll be willing to add to it and
  14. distribute freely the enhancements that you've made.
  15.  
  16. In a nutshell, the way the library "works" is like this:  You declare
  17. a variable of type "App"; set up your windows, etc.; then use the
  18. "Run" method of "App" to start the message loop.
  19.  
  20. If you want to play around with changing the message to something
  21. different when there's no selection, catch WM_MENUEND.  Once you've
  22. got the framework, it's easy and pretty cool to experiment with
  23. different PM functions and messages - the bulk of the tedious work
  24. is already written.
  25.  
  26. Send feedback to:
  27.  
  28. Larry Morley
  29. 6909 Custer #2503
  30. Plano, TX 75023
  31.  
  32. or CompuServe 73670,563
  33.  
  34. Enjoy, and share your ideas and enhancements!
  35.