Vcl.AppEvnts.TApplicationEvents.OnMinimize

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property OnMinimize: TNotifyEvent read FOnMinimize write FOnMinimize;

C++

__property OnMinimize;

Properties

Type Visibility Source Unit Parent
event published
Vcl.AppEvnts.pas
Vcl.AppEvnts.hpp
Vcl.AppEvnts TApplicationEvents

Description

Occurs when an application is minimized.

Vcl.AppEvnts.TApplicationEvents.OnMinimize inherits from Vcl.AppEvnts.TCustomApplicationEvents.OnMinimize. All content below this line refers to Vcl.AppEvnts.TCustomApplicationEvents.OnMinimize.

Occurs when an application is minimized.

Write an OnMinimize event handler to perform special processing when the application is minimized. The application is minimized, either because the user minimizes the main window, or because of a call to the Minimize method. The application's Icon property determines the icon that represents the minimized application.

Note: Call the CancelDispatch method from an OnMinimize event handler to prevent the application from forwarding the event to any other application events objects.

OnMinimize is an event handler of type TNotifyEvent.

See Also

Code Examples