|
-
Jan 3rd, 2007, 03:06 AM
#3
Re: Movewindow API
If its your own window then as Merri used, me.Move is best, but to answer your question anyway... If you use scaleheight and scalewidth it will only include the form part of the window, so it will not include the frame around the window or the top bar, hence you will lose some height and width.
If you need the exact window size then you will need to use the 'GetWindowRect' API (usually used for other windows)
Last edited by Andrew G; Jan 3rd, 2007 at 03:16 AM.
Reason: Thanks Merri :o
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
|