WebWizardHost.SetWizardButtons method

Updates the Back, Next, and Finish buttons in the client's wizard frame.

Syntax


iRetVal = WebWizardHost.SetWizardButtons(
  vbEnableBack,
  vbEnableNext,
  vbLastPage
)

Parameters

vbEnableBack [in]

Type: Boolean

Enables the Back button.

vbEnableNext [in]

Type: Boolean

Enables the Next button.

vbLastPage [in]

Type: Boolean

Enables the Finish button. States that this is the last server-side page.

Remarks

Be sure to implement handler functions in each server-side page for OnBack() and OnNext(), corresponding to the wizard buttons Back and Next. The OnBack() and OnNext() functions respond to SetWizardButtons. At the appropriate time, the OnNext() function calls SetWizardButtons with vbLastPage=true, which can enable a Finish button. OnNext() also calls FinalNext when a user clicks the Finish button.

Requirements

Minimum supported client

Windows XP [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Shldisp.h

IDL

Shldisp.idl

 

 

Show: