Skip to content

Latest commit

 

History

History
69 lines (57 loc) · 3.64 KB

nn-shobjidl_core-iactionprogress.md

File metadata and controls

69 lines (57 loc) · 3.64 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NN:shobjidl_core.IActionProgress
IActionProgress (shobjidl_core.h)
Represents the abstract base class from which progress-driven operations can inherit.
IActionProgress
IActionProgress interface [Windows Shell]
IActionProgress interface [Windows Shell]
described
shell.IActionProgress
shell_IActionProgress
shobjidl_core/IActionProgress
shell\IActionProgress.htm
shell
e742e381-0fd2-482a-81a0-7b43d11b073b
12/05/2018
IActionProgress, IActionProgress interface [Windows Shell], IActionProgress interface [Windows Shell],described, shell.IActionProgress, shell_IActionProgress, shobjidl_core/IActionProgress
shobjidl_core.h
Shobjidl.h
Windows
Windows XP [desktop apps only]
Windows Server 2003 [desktop apps only]
Shobjidl.idl
Windows
19H1
IActionProgress
shobjidl_core/IActionProgress
c++
APIRef
kbSyntax
COM
shobjidl_core.h
IActionProgress

IActionProgress interface

-description

Represents the abstract base class from which progress-driven operations can inherit.

-inheritance

The IActionProgress interface inherits from the IUnknown interface. IActionProgress also has these types of members:

-remarks

This class is an abstract class that may not be instantiated. It provides a framework that derived classes can use to implement a progress callback. This callback can be used by applications to report progress of actions to the UI. Here, "Actions" refers to operations that may take a significant amount of time, such as downloading or copying files, and during which a visible progress indication would be appropriate.

Applications typically do not implement this interface. Much of the functionality that users interact with during actions is provided by the CProgressDialog class (CLSID_ProgressDialog) that implements IActionProgress and displays progress in a dialog box. If a solution requiring a mechanism other than a dialog box is required, IActionProgress can be used to provide basic progress indicator functionality.

Once implemented, classes should call IActionProgress::Begin when an action is started. Periodically, IActionProgress::UpdateProgress should be called to update the UI with progress information, and detailed textual information should be conveyed to the UI by calling IActionProgress::UpdateText. IActionProgress::QueryCancel and IActionProgress::ResetCancel should be called to handle cancellation requests. Once the operation ends, IActionProgress::End should be called.

-see-also

IProgressDialog