Home Cooker Classes Others Rice CookerGX
Classes  >  window  >  Focused
window class : Focused getter

Description

Gets a value indicating whether the window has input focus.

Syntax

windowInstance.Focused

Arguments

None

Return value

ClassDescription
boolA value indicating whether the window has input focus.

Sample code

//anyWindow is a instance of window type.

bool focused = anyWindow.Focused;

Notes

It's a wrapper of the System.Windows.Forms.Form.Focused.

When the window has input focus, returns true. Otherwise, returns false.

Links for reference

Copyright © Rice All rights reserved.