This topic has not yet been rated - Rate this topic

IActionProgressDialog::Initialize method

Provides details about the action progress dialog.

Syntax


HRESULT Initialize(
  [in]  SPINITF flags,
  [in]  LPCWSTR pszTitle,
  [in]  LPCWSTR pszCancel
);

Parameters

flags [in]

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.

pszTitle [in]

Type: LPCWSTR

The title of the progress dialog.

pszCancel [in]

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

Minimum supported client

Windows XP [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Shobjidl.h

IDL

Shobjidl.idl

DLL

Browseui.dll

 

 

Send comments about this topic to Microsoft

Build date: 11/28/2012

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.