deft.controls.messagebox

Standard message boxes.

A thin wrapper over MessageBoxW that maps a small style enum to the right icon and buttons and returns a DialogResult. The native message box is fully accessible — screen readers announce the title, icon, message and buttons automatically.

Members

Enums

MessageBoxStyle
enum MessageBoxStyle

The icon (and, for question, the buttons) a message box shows.

Functions

showMessageBox
DialogResult showMessageBox(Widget parent, string text, string title, MessageBoxStyle style)

Show a modal message box owned by parent.

Meta