IonicWind Software

IWBasic => GUI Central => Topic started by: TonyMUK on May 13, 2010, 06:56:48 AM

Title: Window position
Post by: TonyMUK on May 13, 2010, 06:56:48 AM
I know how to position a window but I am having trouble getting the current position of the window. I am wanting to find the top left position of the window relative to the screen. I have tried GetClientSize but all I get is 0 for both. The window is an MDIFrame if that makes a difference.

Thanks

TonyM
Title: Re: Window position
Post by: LarryMc on May 13, 2010, 07:08:03 AM
GETSIZE

Larry
Title: Re: Window position
Post by: TonyMUK on May 13, 2010, 07:31:32 AM
Cheers Larry. Must rtfm more closely next time.
Title: Re: Window position
Post by: LarryMc on May 13, 2010, 07:47:51 AM
Quote from: TonyMUK on May 13, 2010, 07:31:32 AM
Cheers Larry. Must rtfm more closely next time.

Hey, I ask questions sometimes and then discover that I had either asked (or ANSWERED) the same question before.

Do like I do and just write it off to age.

You're never too young to start practicing to be senile.
You don't want something like that sneaking up on you. ;D

LarryMc
Title: Re: Window position
Post by: TonyMUK on May 13, 2010, 07:49:28 AM
It's not sneaking. It jumped on me a while ago. Gives me a good excuse though.  ;)

TonyM