Share via


DialogContainerWithToolbar.ShowDialog Method

Include Protected Members
Include Inherited Members

Shows a dialog box.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

 

Name

Description

Public method

ShowDialog()

Shows a dialog.

Public method

ShowDialog(IWin32Window)

Shows the form as a modal dialog box with the specified owner. (Inherited from Form.)

Top

Remarks

To show a dialog box and process messages from it, this method performs the following actions:

  • The shell must be queried for a ShowDialogContainer if one is not available.

  • Messages that originate in the dialog box must be captured by calling AddMessageFilter.

  • The message filter must be removed by calling RemoveMessageFilter.

See Also

Reference

DialogContainerWithToolbar Class

DialogContainerWithToolbar Members

Microsoft.VisualStudio.Shell Namespace