Announcement

Collapse
No announcement yet.

Position off running AMS on screen?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Position off running AMS on screen?

    Is it posible to have a running AMS on a specific place on the users screen?
    Say I am using AMS to always be on top, but I would also want it to be in the right top corner of the computer screen?

    How would I do this?

    thanks

  • #2
    Use the following functions:

    1) Use System.GetDisplayInfo to get the users screen size.
    2) Use Window.GetSize with your AMS window handle to get the size of your application.
    3) Use Window.SetPos(yourHandle, DisplayWidth - App Width, 0);

    Hope this helps

    Comment

    Working...
    X