【お知らせ】この部分は英語原文のみでの提供となります。何卒ご了承ください。
2.3.1.24 GETN_CUEBANNER
Contents
Name
GETN_CUEBANNER
Declaration
#define GETN_CUEBANNER(_STR_HINT) _strTemp = _STR_HINT;_tmpSubNode.SetAttribute(STR_ATTRIB_CUEBANNER, _strTemp);
Remark
Cuebanner of edit box.
Parameters
- _STR_HINT
- [input] cuebanner string
Return
Examples
EX1
#include <GetNBox.h> void GETN_CUEBANNER_ex() { GETN_TREE(tr) GETN_STR(user,_L("User Name"), "") GETN_CUEBANNER("text") double val = NANUM; GETN_NUM(test, _L("Enter a number"), val) GETN_CUEBANNER("Empty ok") if(GetNBox(tr, NULL, NULL, NULL, NULL)) { if(tr.test.dVal == NANUM) out_str("no value entered"); else out_str("you have entered a value"); } }
Header to Included
GetNBox.h