home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 18 REXX / 18-REXX.zip / vxtech06.zip / VXTECH06 / EMPLIST / FINDWIN.VRX < prev    next >
Text File  |  1994-09-16  |  368b  |  17 lines

  1. /*:VRX         Main
  2. */
  3. /*
  4.     hWnd = FindWin( <caption> )
  5.  
  6.     - Only compares up to length of <caption> so titles that change when MDI
  7.     windows are maximized are still found.
  8. */
  9. Main:
  10.     parse arg targetCaption
  11.  
  12.     window = VRMethod( "Screen", "FindWindow", targetCaption, "Desktop", "descendents", "mixed", "abbreviation" )
  13.     
  14. return window
  15.  
  16.  
  17.