2.3.1.24 GETN_CUEBANNER


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

Reference