Displays a dialog box and write debug.
- Header
#include <xtd/forms/debug_message_box>
- Namespace
- xtd::forms
- Library
- xtd.forms
- Appearance
| Windows | macOS | Gnome |
Light |
|
|
|
Dark |
|
|
|
- Examples
- The following code example demonstrates the use of debug_message_box dialog.
#define DEBUG
#include <xtd/xtd>
class form_main :
public form {
public:
form_main() {
button_.text("Error...");
};
}
static auto main() {
auto df = debug_form {};
}
private:
};
#define startup_(main_method)
Defines the entry point to be called when the application loads. Generally this is set either to the ...
Definition startup.hpp:168
#define delegate_
The declaration of a delegate type is similar to a method signature. It has a return value and any nu...
Definition delegate.hpp:900
xtd::forms::style_sheets::control button
The buttton data allows you to specify the box of a button control.
Definition button.hpp:25
◆ show() [1/2]
Displays a message box and write debug with specified text.
- Parameters
-
text | The text to display in the message box. |
◆ show() [2/2]
Displays a message box in front of the specified window and write debug with specified text.
- Parameters
-
owner | An implementation of iwin32_window that will own the modal dialog box. |
text | The text to display in the message box. |
The documentation for this class was generated from the following file: