I'm trying to change the text repeatedly for various
controls including pushButtonCtl and popupTriggerCtl. 
There were techniques for verifying that the text
returned from CtlGetLabel() was the initial default
value.  

This now generates warning or error messages in Palm
OS5:
  freeTxtP = (char *)ctlP + sizeof(ControlType);
  oldTxtP = (char *)CtlGetLabel(ctlP);
  CtlSetLabel(ctlP, txtP);
  if(oldTxtP != freeTxtP)
  ...
Does anyone know how this type of verification is
performed in Palm OS5 without generating error or
warning messages?




-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to