Vcl.AppEvnts.TCustomApplicationEvents.OnMinimize

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property OnMinimize: TNotifyEvent read FOnMinimize write FOnMinimize;

C++

__property System::Classes::TNotifyEvent OnMinimize = {read=FOnMinimize, write=FOnMinimize};

Properties

Type Visibility Source Unit Parent
event protected
Vcl.AppEvnts.pas
Vcl.AppEvnts.hpp
Vcl.AppEvnts TCustomApplicationEvents

Description

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