InfoConnect for Unisys
Attachmate.Reflection.UserInterface Namespace / IFrame Interface / WindowLocation Property

In This Topic
    WindowLocation Property
    In This Topic
    Gets the application window's location.
    Property WindowLocation As Point
    Dim instance As IFrame
    Dim value As Point
    instance.WindowLocation = value
    value = instance.WindowLocation
    Point WindowLocation {get; set;}

    void Sample_Frame_WindowLocation()
        Application app = MyReflection.ActiveApplication;
        IFrame frame = (IFrame)app.GetObject("Frame");
        System.Drawing.Point p = frame.WindowLocation;
        Console.Write("x/y location of InfoConnect Desktop: " +
            p.X + "/" + p.Y);
    See Also