MCPcopy Create free account
hub / github.com/SOUI2/soui / MessageBox

Method MessageBox

SOUI/src/control/SMessageBox.cpp:43–51  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

41 }s_MsgBoxInfo;
42
43 INT_PTR SMessageBoxImpl::MessageBox( HWND hWnd, LPCTSTR lpText, LPCTSTR lpCaption, UINT uType ,int nScale)
44 {
45 if(!GetMsgTemplate()) return ::MessageBox(hWnd,lpText,lpCaption,uType);
46 s_MsgBoxInfo.pszText=lpText;
47 s_MsgBoxInfo.pszCaption=lpCaption;
48 s_MsgBoxInfo.uType=uType;
49 m_nScale = nScale;
50 return DoModal(hWnd);
51 }
52
53 BOOL SMessageBoxImpl::OnSetIcon( UINT uType )
54 {

Callers 1

SMessageBoxFunction · 0.45

Calls 2

GetMsgTemplateFunction · 0.85
DoModalFunction · 0.85

Tested by

no test coverage detected