You have to define an underlined font.  Why there isn't one included with
the OS, I'll never know.  Look up something like Pilot Font Editor, which
will allow you to load a font resource, edit the characters, and save
it, and then you can use FntDefineFont to load it.  There's also a PRC
floating around somewhere that will download all the OS font resources
from a device to your hard drive, so you can edit them.  Alternatively, if
you really don't mind rolling your own, you can define a PilRC font, which
consists of a text file with the bits for each character laboriously
reproduced in supersize.

Hope this helps...
-d

On Thu, 28 Mar 2002, Joseph Chan wrote:

> But how they write an underline to the link?
> 
> "Anton" <[EMAIL PROTECTED]> ???????:[EMAIL PROTECTED]
> >
> > 1.Write a text with WinDrawChars
> > 2. Save position of written text in a structure, for variables or
> > RectangleType .
> > 3. Handle penDownEvent. Check out whether the pen is tapped in this
> > rectangle.
> > Very simple :)
> > Anton
> >
> >
> > ----- Original Message -----
> > From: Joseph Chan <[EMAIL PROTECTED]>
> > Newsgroups: palm-dev-forum
> > To: Palm Developer Forum <[EMAIL PROTECTED]>
> > Sent: Wednesday, March 27, 2002 2:48 PM
> > Subject: Dynamic UI
> >
> >
> > > Hi all,
> > >
> > > Does anyone know how to define a dynamic UI like the clickable link in
> > > HTML/WAP browser in palm?
> > >
> > > Thanks and regards
> > > Joseph Chan
> > > ===============================
> > > The Hong Kong Polytechnic University
> > > Department of Computing
> > > [EMAIL PROTECTED]
> > > ===============================
> > >
> > >
> > >
> > > --
> > > For information on using the Palm Developer Forums, or to unsubscribe,
> > please see http://www.palmos.com/dev/support/forums/
> >
> >
> >
> 
> 
> 
> -- 
> For information on using the Palm Developer Forums, or to unsubscribe, please see 
>http://www.palmos.com/dev/support/forums/
> 



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

Reply via email to