首页|嵌入式系统|显示技术|模拟IC/电源|元件与制造|其他IC/制程|消费类电子|无线/通信|汽车电子|工业控制|医疗电子|测试测量
首页 > 分享下载 > 常用文档 > MessageBox

MessageBox

资料介绍
MessageBox

MessageBox

The MessageBox function creates, displays, and operates a message box. The
message box contains an application-defined message and title, plus any
combination of predefined icons and push buttons.

int MessageBox(

HWND hWnd, // handle of owner window
LPCTSTR lpText, // address of text in message box
LPCTSTR lpCaption, // address of title of message box
UINT uType // style of message box
);
Parameters

hWnd

Identifies the owner window of the message box to be created. If this
parameter is NULL, the message box has no owner window.

lpText

Points to a null-terminated string containing the message to be displayed.

lpCaption

Points to a null-terminated string used for the dialog box title. If this
p
标签:MessageBoxHWNDlpTextLPCTSTRlpCaptionUINTuType
MessageBox
本地下载

评论