XLL+ Class Library

CXllApp::WinMessageBox

Display the standard Windows message box

[C++]
static int WinMessageBox(
   LPCSTR lpText,
   LPCSTR lpCaption,
   UINT uType
);

Parameters

lpText

A null-terminated string that will be displayed in the message box.

lpCaption

A null-terminated string that will be displayed in title of the message box.

uType

Various MB_* flags, specifying the buttons, icons and behavior of the message box.

Return value

See the documention for the Win32 API function ::MessageBox().

Remarks

This function calls the the Win32 API function MessageBox(). This offers more flexibility than the Excel message box (see CXllApp::XlMessageBox), and is generally preferred to it.

See the documention for the Win32 API function ::MessageBox().

Requirements

Header: xllplus.h

See Also

CXllApp Class | CXllApp Methods | CXllApp::XlMessageBox