xtd 0.2.0
assert_box.hpp
Go to the documentation of this file.
1
4#pragma once
5#include "../forms_export.hpp"
6#include "dialog_result.hpp"
7#include "iwin32_window.hpp"
8#include <xtd/diagnostics/stack_frame>
9#include <xtd/static>
10#include <xtd/string>
11
13namespace xtd {
15 namespace forms {
17 class control;
19
65 }
66}
Provides information about a xtd::diagnostics::stack_frame, which represents a function call on the c...
Definition stack_frame.hpp:48
static stack_frame current(const xtd::diagnostics::source_location &value=xtd::diagnostics::source_location::current()) noexcept
Crates a new xtd::diagnostics::stack_frame object corresponding to the location of the call site.
Represents a common dialog box that displays assert box.
Definition assert_box.hpp:38
static dialog_result show(const iwin32_window &owner, const xtd::diagnostics::stack_frame &stack_frame=xtd::diagnostics::stack_frame::current())
Displays a assert box in front of the specified window. The assert box displays a specified assert.
static dialog_result show(const iwin32_window &owner, const xtd::string &message, const xtd::diagnostics::stack_frame &stack_frame=xtd::diagnostics::stack_frame::current())
Displays a assert box in front of the specified window. The assert box displays a specified assert an...
static dialog_result show(const xtd::string &message, const xtd::diagnostics::stack_frame &stack_frame=xtd::diagnostics::stack_frame::current())
Displays a assert box. The assert box displays a specified assert and caption.
static dialog_result show(const xtd::diagnostics::stack_frame &stack_frame=xtd::diagnostics::stack_frame::current())
Displays a assert box. The assert box displays a specified assert.
Defines the base class for controls, which are components with visual representation.
Definition control.hpp:81
Provides an interface to expose Win32 HWND handles.
Definition iwin32_window.hpp:23
Contains xtd::forms::dialog_result enum class.
Contains forms_export_ keyword.
#define static_
This keyword is use to represent a static object. A static object can't be instantiated (constructors...
Definition static.hpp:37
#define forms_export_
Define shared library export.
Definition forms_export.hpp:13
xtd::basic_string< char > string
Represents text as a sequence of UTF-8 code units.
Definition __string_definitions.hpp:43
dialog_result
Specifies identifiers to indicate the return value of a dialog box.
Definition dialog_result.hpp:43
Contains xtd::forms::iwin32_window interface.
The xtd::forms namespace contains classes for creating Windows-based applications that take full adva...
Definition texts.hpp:219
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition abstract_object.hpp:8
Implements a Windows message.
Definition message.hpp:33