MessageBox Assistant

Top  Previous  Next

The MessageBox Assistant feature allows you to easily generate message boxes.

MZ-Tools offers the following ways to launch the MessageBox Assistant:

  • The MZ-Tools | Other Utilities | MessageBox Assistant menu.
  • The Other Utilities | MessageBox Assistant button on the MZ-Tools toolbar.
  • The keyboard shortcut associated with the MZTools6_VSXXXX.MessageBoxAssistant command.

The MessageBox Assistant window is the following:

MessageBoxAssistant

In this window you can enter the following:

  • Title: the title of the message box. It can be the value of System.Windows.Forms.Application.ProductName (AssemblyProduct attribute in the AssemblyInfo file) or a custom title.
  • Text: the prompt of the message box.
  • Icon: the icon of the message box, if any.
  • Buttons and default button: the combination of buttons of the message box and the button which will be preselected when showing the message box.
  • Options: several MessageBoxOptions values that you can check. See the .NET Framework help about the meaning of these options.

Once you have entered all the values, you can:

  • Preview the message box.
  • Insert the message box code into the current procedure.
  • Copy the message box code to the clipboard for later use.

Remarks:

  • This feature is not available for the C++ language.

See Also:

Keyboard Shortcuts Options