#include
void main()
{
MessageBox(NULL," Hello World!","我的第一个窗口程序",MB_OK);
}
MessageBox(hWnd,IpText,IpCaption,uType)
参数信息如下:
hWnd:消息框拥有窗口;
IpText:消息框窗口;
IpCaption:消息框标题;
uType:消息框中按钮及图标;
#include
void main()
{
MessageBox(NULL," Hello World!","我的第一个窗口程序",MB_OK);
}
MessageBox(hWnd,IpText,IpCaption,uType)
参数信息如下:
hWnd:消息框拥有窗口;
IpText:消息框窗口;
IpCaption:消息框标题;
uType:消息框中按钮及图标;