OkCancelAlert Method
Collapse the table of content
Expand the table of content
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer

IVCWizCtlUI.OkCancelAlert Method

Displays an alert message to the wizard user, requiring the user to click OK to confirm a selected wizard option or Cancel to cancel that option.

Namespace:  Microsoft.VisualStudio.VsWizard
Assembly:  Microsoft.VisualStudio.VsWizard (in Microsoft.VisualStudio.VsWizard.dll)

bool OkCancelAlert(
	string bstrMessage


Type: System.String

A string containing the message to display to the user.

Return Value

Type: System.Boolean
true for OK, false for Cancel.

© 2015 Microsoft