demonstrates the use of xtd::forms::trace_message_box dialog.
- Windows
-
- macOS
-
- Gnome
-
#define TRACE
#include <xtd/xtd>
class form_main : public form {
public:
form_main() {
button_.parent(*this);
button_.location({10, 10});
button_.text("Error...");
trace_message_box::show(*this, "An unknown process error occured.");
};
}
static auto main() {
auto tf = trace_form {};
}
private:
button button_;
};
#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