RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCommonDialog.TaskModalDialog Method

Ensures that Windows messages are properly routed when the dialog executes.

Pascal
function TaskModalDialog(DialogFunc: Pointer; var DialogData): Bool; virtual;
C++
virtual __fastcall Bool TaskModalDialog(void * DialogFunc,  DialogData);

Descendants of TCommonDialog call TaskModalDialog from their Execute methods. 

TaskModalDialog  

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. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!