NTextobjects are static text controls that have the look-and-feel of the native window manager's static text controls.
NTextobject with an enclosing
CSubview. This class does not use the commands set by
NText(CSubview* theEnclosure, const CRect& theRegion,
const CStringRW& theTitle = NULLString,
long theAttributes = 0L;
theEnclosureis a pointer to the subview that will contain the text control.
theRegionis a coordinate location, local to the enclosure, that is used to place the text control.
theTitleis a character string used as the title for the text object.
theAttributestakes a value from a set of XVT Portability Toolkit-provided attributes that you can give to native views. You can OR together the appropriate control flag constants into an attribute value. For a listing of the possible control flags for
theAttributes, refer to the table in the description of
CNativeView's protected constructor
NText(CSubview* theEnclosure, long theContainerId, long theId);
NText(const NText& theText);
NText& operator=(const NText& theText);
void DoHit(CONTROL_INFO theInfo);
CONTROL_INFO, which is defined by the XVT Portability Toolkit, in the XVT Portability Toolkit Guide. Text controls do not respond to a