If there is no API to return particular attributes, then the only
alternative left is to muck around in the structures. Hopefully the very
intelligent PalmOS engineers will keep compatibility in mind so future OS
releases won't break apps that have to resort to such tactics. But if you
think about it, FldGetAttributes returns a pointer to the field's structure
so it must be OK to at least 'look' at it.
-----Original Message-----
From: Ben Combee <[EMAIL PROTECTED]>
Newsgroups: palm-dev-forum
To: Palm Developer Forum <[EMAIL PROTECTED]>
Date: Thursday, April 27, 2000 11:32 AM
Subject: Re: Way to get Usable value from field or list?
>"Dave Lippincott" <[EMAIL PROTECTED]> wrote in message
>news:9807@palm-dev-forum...
>>
>> Whats wrong with directly checking FieldAttrPtr->usable?
>
>The PalmOS documentation warns that you should treat the FieldType
structure
>as opaque, only using system calls to access its internal contents. I
don't
>mind directly checking the field, but I'd be afraid that it could break
with
>a future version of PalmOS.
>
>
>
>--
>For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palm.com/devzone/mailinglists.html
>
>
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palm.com/devzone/mailinglists.html