TAppEventsOnMinimize (C++)
Description
This example requires that a TApplicationEvents and a TListBox are on the form. Select the TApplicationEvents, double-click the OnMinimize event, and add the following code to the handler. OnMinimize is triggered when the form is minimized.
Code
void __fastcall TAppEventForm::ApplicationEventsMinimize(TObject *Sender)
{
lbOther->Items->Add("Event OnMinimize");
}