SimpleWindow
载入中...
搜索中...
未找到
sw::MsgBox类 参考

消息框类 更多...

#include <MsgBox.h>

静态 Public 成员函数

static MsgBoxResultHelper Show (const WndBase *owner, const std::wstring &text=L"", const std::wstring &caption=L"", MsgBoxButton button=MsgBoxButton::Ok)
 显示一个不含图标的消息框
 
static MsgBoxResultHelper Show (const WndBase &owner, const std::wstring &text=L"", const std::wstring &caption=L"", MsgBoxButton button=MsgBoxButton::Ok)
 显示一个不含图标的消息框
 
static MsgBoxResultHelper Show (const std::wstring &text=L"", const std::wstring &caption=L"", MsgBoxButton button=MsgBoxButton::Ok)
 显示一个不含图标的消息框,将当前活动窗体作为Owner
 
static MsgBoxResultHelper ShowInfo (const WndBase *owner, const std::wstring &text=L"", const std::wstring &caption=L"", MsgBoxButton button=MsgBoxButton::Ok)
 显示一个含“消息”图标的消息框
 
static MsgBoxResultHelper ShowInfo (const WndBase &owner, const std::wstring &text=L"", const std::wstring &caption=L"", MsgBoxButton button=MsgBoxButton::Ok)
 显示一个含“消息”图标的消息框
 
static MsgBoxResultHelper ShowInfo (const std::wstring &text=L"", const std::wstring &caption=L"", MsgBoxButton button=MsgBoxButton::Ok)
 显示一个含“消息”图标的消息框,将当前活动窗体作为Owner
 
static MsgBoxResultHelper ShowError (const WndBase *owner, const std::wstring &text=L"", const std::wstring &caption=L"", MsgBoxButton button=MsgBoxButton::Ok)
 显示一个含“错误”图标的消息框
 
static MsgBoxResultHelper ShowError (const WndBase &owner, const std::wstring &text=L"", const std::wstring &caption=L"", MsgBoxButton button=MsgBoxButton::Ok)
 显示一个含“错误”图标的消息框
 
static MsgBoxResultHelper ShowError (const std::wstring &text=L"", const std::wstring &caption=L"", MsgBoxButton button=MsgBoxButton::Ok)
 显示一个含“错误”图标的消息框,将当前活动窗体作为Owner
 
static MsgBoxResultHelper ShowWarning (const WndBase *owner, const std::wstring &text=L"", const std::wstring &caption=L"", MsgBoxButton button=MsgBoxButton::Ok)
 显示一个含“警告”图标的消息框
 
static MsgBoxResultHelper ShowWarning (const WndBase &owner, const std::wstring &text=L"", const std::wstring &caption=L"", MsgBoxButton button=MsgBoxButton::Ok)
 显示一个含“警告”图标的消息框
 
static MsgBoxResultHelper ShowWarning (const std::wstring &text=L"", const std::wstring &caption=L"", MsgBoxButton button=MsgBoxButton::Ok)
 显示一个含“警告”图标的消息框,将当前活动窗体作为Owner
 
static MsgBoxResultHelper ShowQuestion (const WndBase *owner, const std::wstring &text=L"", const std::wstring &caption=L"", MsgBoxButton button=MsgBoxButton::YesNo)
 显示一个含“问题”图标的消息框
 
static MsgBoxResultHelper ShowQuestion (const WndBase &owner, const std::wstring &text=L"", const std::wstring &caption=L"", MsgBoxButton button=MsgBoxButton::YesNo)
 显示一个含“问题”图标的消息框
 
static MsgBoxResultHelper ShowQuestion (const std::wstring &text=L"", const std::wstring &caption=L"", MsgBoxButton button=MsgBoxButton::YesNo)
 显示一个含“问题”图标的消息框,将当前活动窗体作为Owner
 

详细描述

消息框类


该类的文档由以下文件生成: