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
GETSIZE
Larry
Cheers Larry. Must rtfm more closely next time.
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
It's not sneaking. It jumped on me a while ago. Gives me a good excuse though. ;)
TonyM