Programming guideline of WinDom
ObjcStrCpy()
NAME
ObjcStrCpy - Copy the label of an object.
PROTOTYPAGE
ObjcStrCpy( OBJECT *tree, int index, char *src);
PARAMETERS
tree:
address of object tree,
index:
object index,
src:
source string to copy.
DESCRIPTION
ObjcStrCpy() is just a macro function of
ObjcString()
. Instead of write :
strcpy(
ObjcString
( tree, obj, NULL), "new label");
write :
ObjcStrCpy( tree, obj, "new label");
It is the common way to use
ObjcString()
.
SEE ALSO
ObjcString()