IActionProgressDialog::Initialize method (shobjidl_core.h)
Provides details about the action progress dialog.
Syntax
HRESULT Initialize(
[in] SPINITF flags,
[in] LPCWSTR pszTitle,
[in] LPCWSTR pszCancel
);
Parameters
[in] flags
Type: SPINITF
One of the following values.
SPINITF_NORMAL (0x01)
Use the default progress dialog behavior.
SPINITF_MODAL (0x01)
Use a modal window for the dialog.
SPINITF_NOMINIMIZE (0x08)
Do not display a minimize button.
[in] pszTitle
Type: LPCWSTR
The title of the progress dialog.
[in] pszCancel
Type: LPCWSTR
The string displayed when a user closes the dialog before completion.
Return value
Type: HRESULT
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows XP [desktop apps only] |
Minimum supported server | Windows Server 2003 [desktop apps only] |
Target Platform | Windows |
Header | shobjidl_core.h (include Shobjidl.h) |
DLL | Browseui.dll |