8#include "../macros.hpp"
13#include <system_error>
15hi_export_module(hikogui.win32.winuser);
17namespace hi {
inline namespace v1 {
19hi_inline std::expected<UINT, win32_error> win32_MessageBox(
HWND handle, std::string_view text, std::string_view
caption,
UINT type)
noexcept
Rules for working with win32 headers.
DOXYGEN BUG.
Definition algorithm_misc.hpp:20
The HikoGUI namespace.
Definition recursive_iterator.hpp:15
hi_inline std::expected< std::wstring, win32_error > win32_MultiByteToWideChar(std::string_view s, unsigned int code_page=CP_UTF8, uint32_t flags=0) noexcept
Convert a win32-API compatible std::wstring to a multi-byte std::string.
Definition base.hpp:119
constexpr Out narrow_cast(In const &rhs) noexcept
Cast numeric values without loss of precision.
Definition cast.hpp:378