I'm trying to change the text repeatedly for various
controls including pushButtonCtl.  There were
successful 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)
  ...
The error/warning messages is for accessing memory
owned by the form manager.

Does anyone know how this type of verification is
performed in Palm OS5 without generating error or
warning messages?  Any assistance is appreciated.

DeVo

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

Reply via email to