Wednesday, February 4, 2009

Screen Right Bottom Co-Ordinates

Hi,

Use the following snippet to get the right bottom coordinates in the screen. This will be useful when you write apps which alerts the user from the system Tray.

Me.Left = Screen.PrimaryScreen.WorkingArea.Width - Me.Width
Me.Top = Screen.PrimaryScreen.WorkingArea.Height - Me.Height

No comments: