MsgNotify("notify message");普通提示消息MsgNotify("notify message with source and no","userMsg",,,10);带消息来源和消息编号的提示消息MsgNotify("notify message with num parameter %1",,666);带一个整数参数(常量或变量)的提示消息MsgNotify("notify message with string parameter %1",,,"hello");带一个字符串参数(常量或变量)的提示消息
MsgQuit使用方法
使用方法和上面的MsgNotify差不多
MsgQuit("quit message");普通确认消息MsgQuit("quit message", "userErr",,,10);带消息来源和消息编号的确认消息MsgQuit("quit message with num parameter %1",,666);带一个整数参数(常量或变量)的确认消息MsgQuit("quit message with string parameter %1",,,"hello");带一个字符串参数(常量或变量)的确认消息
MsgDialog使用方法
INT nRes;先定义一个Int类型变量以存储用户输入参数MsgDialog(nRes,"dialog message",,,,,,,"btn3","btn2","btn1") ;普通对话消息(用户触发btn1则返回值nRes为1, btn2为2, 依次类推);一共可以设置7个输入选项(如下),如不需要那么多则留空(如上) MsgDialog(nRes,"dialog message with source and no","userDialog",,"btn7","btn6","btn5","btn4","btn3","btn2","btn1",,10) ;带消息来源和消息编号的对话消息MsgDialog(nRes,"dialog message with string parameter : %1",,"hello",,,,,"btn3","btn2","btn1") ;带一个字符串参数(常量或变量)的对话消息 MsgNotify("push button %1",,nRes);设置一个提示消息以查看用户输入值