home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / WINTRE.ZIP / WINTREE.DOC < prev    next >
Text File  |  1990-04-20  |  1KB  |  36 lines

  1.                                   WINTREE
  2.  
  3.       WinTree will produce a scrollable listing of all the windows and
  4.       child windows currently active at the time the program is
  5.       executed.
  6.  
  7.       I wrote this very "down and dirty" program to help me debug some
  8.       code that was trying to create child windows on another
  9.       application's window.  I needed to see if the children were
  10.       getting created in the right place.  (They weren't and still
  11.       aren't!).
  12.  
  13.       The most helpful part of this program is the recursive
  14.       subroutine called "TraverseWindows" at the end of the listing.
  15.       This is the code that does the real work.  The rest of it is
  16.       just display services.
  17.  
  18.       The display part is a rip-off of the SYSVALS program in Charles
  19.       Petzold's book.  The algorithm for traversing the trees is an
  20.       extrapolation of a code segment I saw on IBMLink.
  21.  
  22.       I'm not interested in any money for this code, as it doesn't
  23.       really do much.  I WOULD be interested in hearing if it helped
  24.       you.  I can be contacted via:
  25.  
  26.                 Prodigy         [VWSD07A]
  27.                 CompuServe      [73457,365]
  28.  
  29.       I'm on Prodigy a lot more than CIS.... connect charges ya know.
  30.  
  31.       Feel free to distribute or modify the code as you wish.  Enjoy.
  32.  
  33.       Gary Murphy
  34.       1022 N. Cooper
  35.       Olathe, KS 66061
  36.