|
-
April 20th, 1999, 01:44 PM
#1
Moving window of another application
I've been looking for a way to move another window (not in my app) along
with the window of my app. I would like that other window to be attached
to the right or bottom side of my app, even if my app is dragged.
Getting a HWND for the other app and executing MoveWindow just doesn't do it.
Ideas anyone?
-
April 20th, 1999, 02:10 PM
#2
Re: Moving window of another application
A few questions:
- Are you sure that the HWND is for the app?
- When are you calling MoveWindow?
- Are you also considering if the size of your app window changes?
- Is the other app written by yourself or a third-party? If it's written by a third-party, the user of your app can easily set focus to the other app and move the window, destroying the effect that you wanted in the first place.
Regards,
Paul McKenzie
-
April 21st, 1999, 12:06 AM
#3
Re: Moving window of another application
Hi;
if you are sure the hWnd of other App window you get it right..then i suggest you can use
SetWindowPos win32 API, i always use this and work perfectly..
HTH
Hello World!!!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|