What does the OS normally do for memory management
on label objects on forms?  Likewise, what must I do if
I am going to mess w/ the label text?

If I do a CtlSetLabel to set the text that the label will
be displaying, am I supposed to first to a CtlSetLabel
to obtain the pointer to the currently displayed text so
I can free it?

Similarly ... in my cleanup code, I am doing a CtlGetLabel
to recover the pointers I used, find their handles & free
them ... should I do a CtlSetLabel w/ NULL to prevent
the OS from trying to free the pointers that I just freed?


--
-Richad M. Hartman
[EMAIL PROTECTED]

186,000 mi/sec: not just a good idea, it's the LAW!




-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palm.com/devzone/mailinglists.html

Reply via email to