Vcl.Dialogs.TCommonDialog.TaskModalDialog
Delphi
function TaskModalDialog(DialogFunc: Pointer; var DialogData): Bool; virtual;
C++
virtual System::LongBool __fastcall TaskModalDialog(void * DialogFunc, void *DialogData);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | protected | Vcl.Dialogs.pas Vcl.Dialogs.hpp |
Vcl.Dialogs | TCommonDialog |
Description
Ensures that Windows messages are properly routed when the dialog executes.
Descendants of TCommonDialog call TaskModalDialog from their Execute methods.
Disables other windows while the dialog is displayed.
Ensures that application windows are activated and deactivated appropriately.
Ensures that the MessageHook receives Windows messages before the dialog's window procedure.
Calls the dialog function specified as DialogFunc, passing in the dialog-specific data provided by DialogData.