XLL+ Class Library (6.3)

CXllApp::WinMessageBoxW

Display the standard Windows message box

static int WinMessageBoxW(
   LPCWSTR lpText,
   LPCWSTR 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