home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / os / os2 / programm / 6309 < prev    next >
Encoding:
Internet Message Format  |  1992-11-10  |  1.3 KB

  1. Path: sparky!uunet!utcsri!roboco!green
  2. From: green@roboco.UUCP (Anthony Green)
  3. Newsgroups: comp.os.os2.programmer
  4. Subject: Need help with WinSetWindowPos
  5. Distribution: world
  6. Message-ID: <721396853snx@roboco.UUCP>
  7. Date: Tue, 10 Nov 92 12:00:53 GMT
  8. Organization: Ruddock and Associates
  9. Lines: 24
  10.  
  11.  
  12. I wish to move and resize third party apps from my own application.
  13. I intend to accomplish this by retrieving the handle for the target 
  14. application's frame window and calling WinSetWindowPos with the new
  15. SWP info (x & y pos and x & y width). 
  16.  
  17. So far, the target windows are moving to the proper location but I am
  18. having some difficulty with resizing them. It looks as if the frame
  19. window is resizing, but none of its children are. For instance, if I
  20. call WinSetWindowPos with os2chess' frame window handle in order to make it
  21. larger, the frame will grow, but nothing inside will. It's not a simple
  22. matter of not having repainted the window either, as the buttons inside
  23. the frame are active. I was under the impression that if a frame window
  24. is resized it will send WM_SIZE messages, etc., to its children.
  25.  
  26. Any advice appreciated!
  27.  
  28. --- Thanks ---
  29.  
  30. --
  31. Anthony T. Green                  343D St. Clair Ave W, Toronto, Ontario M5P 1N3
  32.  
  33. Home   (416) 968-0817             Internet: roboco!green@relay.cs.toronto.edu
  34. Office (416) 340-0887             UUCP    : ...!uunet!utai!roboco!green
  35.