On Wed, Dec 01, 2004 at 10:21:07AM -0600, Jennifer Fell wrote:
> 1. How can I display texts with different colors and/or styles (e.g. 
> regular or italic) in a field at the same time?

You can't. You would need to write your own field gadget. As an aside, I
don't think there are any Palm devices that ship with an italic or
oblique font.

> 2. Is there any way I can use the system icons (for example, the question 
> or the info icons that shows up on the alert boxes) in my application to 
> keep a consistent look between my application and the Palm OS?

They're system resources, so you could load them with DmGetResource. However,
their resource IDs are not publicly defined AFAIK, so even if you figured out
what IDs to use, there would be a danger that it would not be portable across
devices.

> 3. Is there anyway I could preserve the background color of a listbox from 
> being affected by the system theme colors?

You might be able to do this with an owner-drawn list. Use LstSetDrawFunction.

-- 
Dave Carrigan
Seattle, WA, USA
[EMAIL PROTECTED] | http://www.rudedog.org/ | ICQ:161669680
UNIX-Apache-Perl-Linux-Firewalls-LDAP-C-C++-DNS-PalmOS-PostgreSQL-MySQL

Dave is currently listening to Dire Straits - So Far Away (Brothers In Arms)

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

Reply via email to