C# Class ACAT.Lib.Extension.CommandHandlers.AppWindowManagementHandler

Command handler to manipulate the foreground window size and position, as well as window state such as maximize, minimize, restore etc.
Inheritance: ACAT.Lib.Core.PanelManagement.CommandDispatcher.RunCommandHandler
Show file Open project: brlima94/acat-localization

Public Methods

Method Description
AppWindowManagementHandler ( String cmd ) : System

Initializes a new instance of the class.

Execute ( bool &handled ) : bool

Executes the command

Private Methods

Method Description
isForegroundWindowSizeable ( ) : bool

Checks if the foreground window is sizeable

Method Details

AppWindowManagementHandler() public method

Initializes a new instance of the class.
public AppWindowManagementHandler ( String cmd ) : System
cmd String The command to be executed
return System

Execute() public method

Executes the command
public Execute ( bool &handled ) : bool
handled bool set to true if the command was handled
return bool