On 2006-08-03, Douglas Handy <[EMAIL PROTECTED]> wrote:
> Luc,
>
>>...and WinGetDisplayExtent() cannot 
>>reliably used to determine DIA presence once and for all since it 
>>depends on the current DIA and slider status :(
>
> You need to use WinScreenGetAttribute(), not WinGetDisplayExtent().
>
> Doug

I had a feeling there was a better function than WinGetDisplayExtent() and 
WinScreenGetAttribute() is it.
Note it is only available with the hires feature set. For e.g. Sony 
PalmOS4 or Handera devices you need some other solution, but this should 
take care of the Z22.
Thanks Doug for refreshing my memory.

Ton

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

Reply via email to