Hey Chris,

Thanks for sample code. It makes it easy to see what you're talking about. I've been busting my brain trying to cover all the possible ways the user could screw me up and this looks like a much simpler way to go.

Dana

Chris Faherty wrote:

global var
----------
   MemHandle passwordFontH;

In StartApplication()
---------------------
   FontPtr fontP;

   /* define special password font */
   if ((passwordFontH = DmGetResource('NFNT', PasswordFont))) {
       if ((fontP = MemHandleLock(passwordFontH))) {
           FntDefineFont((FontID)128, fontP);
       }
   }

<snip>-----------------------------<snip>


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

Reply via email to