MCPcopy Create free account
hub / github.com/ChiyukiGana/Quickinput / Warning

Method Warning

source/src/tools/msgbox.h:14–17  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12 return MessageBoxW(0, String::toWString(text).c_str(), title.c_str(), style);
13 }
14 static int Warning(std::wstring text, std::wstring title = L"Warning", LONG style = MB_OK | MB_ICONWARNING | MB_TOPMOST)
15 {
16 return MessageBoxW(0, text.c_str(), title.c_str(), style);
17 }
18 static int Error(std::wstring text, std::wstring title = L"Error", LONG style = MB_OK | MB_ICONERROR | MB_TOPMOST)
19 {
20 return MessageBoxW(0, text.c_str(), title.c_str(), style);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected