PDA

View Full Version : window.move / resolution


rhosk
10-28-2003, 02:57 PM
Quick question.
Is there a way to use Window.Move to, let's say, end up at the right-hand side of the desktop - no matter what the resolution? In other words, have the window end up hugging the right side of the screen, whether you're at 800, 1024 or whatever? Thanks.

Worm
10-28-2003, 03:17 PM
You should be able to get the Horizontal Res, and then subtract the width of your projects window. Use that value as the X coordinate.

rhosk
10-28-2003, 04:22 PM
As always Worm, thanks. Just needed that bit of info!!