Home Cooker Classes Others Rice CookerGX
Classes  >  window
window class

Description

Represents the application window itself.

Notes

It is a class that is statically included in the Cooker.

Please note that the instance obtained from the variable declaration has already been initialized.

fitter

SignatureDescription
window()

Get a new instance of window class.

getter

SignatureDescription
ClientHeight

Gets the height of the client area.

ClientWidth

Gets the width of the client area.

Enabled

Gets a value indicating whether the window is enabled in the user interface.

Fitted

Gets the value that indicates whether this instance was already initialized.

Focused

Gets a value indicating whether the window has input focus.

Height

Gets the height of the window.

IsMaximized

Gets the value that indicates whether the window is maximized.

IsMinimized

Gets the value that indicates whether the window is minimized.

IsNormal

Gets the value that indicates whether the window is normal state.

Left

Gets the position of the window's left edge on the desktop screen.

Top

Gets the position of the window's top edge on the desktop screen.

TopMost

Gets a value that indicates whether the window will always be displayed foreground of the desktop screen.

TypeName

Gets the type name.

Width

Gets the width of the window.

setter

SignatureDescription
ClientHeight(int)

Sets the height of the client area.

ClientWidth(int)

Sets the width of the client area.

Enabled(bool)

Sets a value indicating whether the window is enabled in the user interface.

Height(int)

Sets the height of the window.

Left(int)

Sets the position of the window's left edge on the desktop screen.

Top(int)

Sets the position of the window's top edge on the desktop screen.

TopMost(bool)

Sets a value that indicates whether the window will always be displayed foreground of the desktop screen.

Width(int)

Sets the width of the window.

method

SignatureDescription
Activate()

Activates the bwindow and gives it focus.

Close()

Closes the window.

DoEvents()

Processes all Windows messages currently in the message queue.

Hide()

Makes the window invisible.

PointToClient(int,int)

Converts the screen coordinates to client coordinates on the window.

PointToScreen(int,int)

Converts the client coordinates on the window to the screen coordinates.

Show()

Displays the window.

Sleep(int)

This method suspends the execution of the program between the specified number of milliseconds.

ToMaximized()

Maximize the window.

ToMinimized()

Minimize the window.

ToNormal()

Change the window to a normal state.

event

SignatureDescription
Activated(any,string)

Sets the event handler for the Activated event of the window.

Deactivate(any,string)

Sets the event handler for the Deactivate event of the window.

FormClosed(any,string)

Sets the event handler for the FormClosed event of the window.

FormClosing(any,string)

Sets the event handler for the FormClosing event of the window.

LocationChanged(any,string)

Sets the event handler for the LocationChanged event of the window.

SizeChanged(any,string)

Sets the event handler for the SizeChanged event of the window.

Copyright © Rice All rights reserved.