Edit

Share via


How to Create Task Dialogs

A task dialog is created and shown by using either the TaskDialog function or the TaskDialogIndirect function.

What you need to know

Technologies

Prerequisites

  • C/C++
  • Windows User Interface Programming

Instructions

TaskDialog

The TaskDialog function is suitable for simple dialog boxes that present textual information and ask for a standard choice. This creation function does not support progress bars, check boxes, footers, expand/collapse buttons, custom buttons, or radio buttons.

TaskDialogIndirect

The TaskDialogIndirect function is more powerful, supporting all available interface elements and also enabling you to capture events in a callback procedure so that your application can update a progress bar or respond to a click of a hyperlink or button.

Using Task Dialogs