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