I'll try the LstGlueSetFont, currently I do call the WinDrawChars function
within my callback, for some reason it doesn't seem to be using the current
font.

At least, during form load, I do call FntSetFont to the custom font that I
want to use, I've hook my FntSetFont wrapper to ensure that it's not being
called with a normal font ID, I've found no place in my code that calls
FntSetFont with the (stdFont), but I do see my call to this API with a
custom font.  Unfortunately when I call FntGetFont from the WinDrawChars
function (my wrapper), the font is stdFont and not my custom font.

That leads me to believe that something - somewhere outside of my code is
calling FntSetFont.  I could call this function in my callback, but I'm
worried about the perf hit I do this.

Any ideas?

I'll let everyone know how LstGlueSetFont works.

thanks - bill

"Brad Figler" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>
> > In your list drawing callback, use FntSetFont then draw what you need to
> > using WinDrawChars or some variant of that. That should use the current
> > font.
> >
> Alternatively, you could call LstGlueSetFont(), but I think that only
> works in OS 5 and up.
>
>



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

Reply via email to