Show / Hide Table of Contents

Method wnd.EnsureInScreen


Overload

Moves this window if need, to ensure that entire window is in that screen.

public void EnsureInScreen(screen screen = default, bool workArea = true)
Parameters
screen  (screen)

Move to this screen (see screen). If default, uses screen of this window.

workArea  (bool)

Use the work area, not whole screen. Default true.

Exceptions
AuWndException

Remarks

If the window is maximized, minimized or hidden, it will have the new position and size when restored, not immediately.

See Also

RECT.EnsureInScreen