frankt
September 25th, 2003, 05:27 PM
I've been playing around with the API and can't work out what happens when I define a variable in the name field of a button.
A normal button will have the Name text in the CCFButton.name field, but when there is a variable defined in ccf Name field, the CCFButton.name has a non-string value in the ponter. eg
Plain Text Name
+ (*button).name 0x003a80b8 "Test Action" char *
Variable Name {}
+ (*button).name 0x003a84a0 "ð„:" char *
I can see the special_type field says it's a variable button, but what is in this field? How do I access the original name value? These are the values before any attempt to set the variable has been made.
A normal button will have the Name text in the CCFButton.name field, but when there is a variable defined in ccf Name field, the CCFButton.name has a non-string value in the ponter. eg
Plain Text Name
+ (*button).name 0x003a80b8 "Test Action" char *
Variable Name {}
+ (*button).name 0x003a84a0 "ð„:" char *
I can see the special_type field says it's a variable button, but what is in this field? How do I access the original name value? These are the values before any attempt to set the variable has been made.