class FocusEvent
Describes a focus change input event in the Console.
Implements interface InputEvent. This event is sent to the console's input queue when the console window gets or loses input focus.
Inheritance
class FocusEvent : InputEvent |
Properties
int EventType () | Returns the type number of this event. |
int SetFocus () | Returns true if the console window has gained input focus, false if it has lost input focus. |
Reference
accessor int EventType () |
Returns the type number of this event. Inherited from InputEvent. Possible values are: Console::FocusEventType, Console::KeyEventType, Console::MenuEventType, Console::MouseEventType, Console::WindowBufferSizeEventType. |
accessor int SetFocus () |
Returns true if the console window has gained input focus, false if it has lost input focus. |