home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / os / os2 / programm / 4688 < prev    next >
Encoding:
Internet Message Format  |  1992-09-02  |  1.0 KB

  1. Path: sparky!uunet!usc!wupost!uwm.edu!ogicse!orstcs!orstcs!usenetusenet
  2. From: tomlinj@prism.CS.ORST.EDU (Jack Tomlinson)
  3. Newsgroups: comp.os.os2.programmer
  4. Subject: Moving/Resizing an OS/2 Text-Windowed Application (How do I)
  5. Message-ID: <1992Sep02.230320.5568@CS.ORST.EDU>
  6. Date: 2 Sep 92 23:03:20 GMT
  7. Article-I.D.: CS.1992Sep02.230320.5568
  8. Sender: usenet@CS.ORST.EDU
  9. Distribution: na
  10. Organization: Oregon State University, Computer Science Dept.
  11. Lines: 12
  12. Nntp-Posting-Host: prism.cs.orst.edu
  13.  
  14. I need the ability to move and resize an OS/2 text window from within an
  15. application that is running inside that window.  I am not yet familiar with
  16. the OS/2 API and would appreciate a step in the right direction.
  17. I imagine I need to get the handle of the window (WinQueryFocus?) and then
  18. resize/move the window using WinSetWindowPos, however I don't know if there
  19. is a better way, or this way will even work.
  20.  
  21. Any information would be appreciated!
  22. -----
  23. tomlinj@nostromo.oes.orst.edu                -Jack Tomlinson
  24. -- 
  25. tomlinj@nostromo.oes.orst.edu                -Jack Tomlinson
  26.