Skip to content

Latest commit

 

History

History
68 lines (47 loc) · 1.64 KB

File metadata and controls

68 lines (47 loc) · 1.64 KB

Home

Function name : TaskDialogIndirect

Group: Common Dialog Box - Library: comdlg32


Creates, displays, and operates a task dialog.


Code examples:

How to display advanced Task Dialog (Vista)

Declaration:

HRESULT TaskDialogIndirect(
	const TASKDIALOGCONFIG *pTaskConfig,
	int *pnButton,
	int *pnRadioButton,
	BOOL *pfVerificationFlagChecked
);  

FoxPro declaration:

DECLARE INTEGER TaskDialogIndirect IN comctl32;
	STRING pTaskConfig,;
	INTEGER @pnButton,;
	INTEGER @pnRadioButton,;
	INTEGER @pfVerificationFlagChecked  

Parameters:

pTaskConfig [in] Pointer to a TASKDIALOGCONFIG structure that contains information used to display the task dialog.

pnButton [out] Address of a variable that receives the Id of the pressed button.

pnRadioButton [out] Address of a variable that receives one of the button IDs specified in the pRadioButtons member of the pTaskConfig parameter.

pfVerificationFlagChecked [out] Address of a variable that receives the Cheked status of the checkbox.


Return value:

Returns S_OK (0) on success.


Comments:

The task dialog contains application-defined icons, messages, title, verification check box, command links, push buttons, and radio buttons. This function can register a callback function to receive notification messages.

This is Unicode function. The minimum OS is Vista.