pilrc is a resource compiler that is used with the gnu tools, and i think can be used 
with codewarrior, not sure though since i dont use code warrior..  i sent an email 
directly with pword.txt file.. 
here are the instructions on getting this to work though.

add this to your .rcp file 
FONT pwdFnt FONTID 128 "pword.txt"

and this to your start app function
        MemHandle fontHandle;
        FontPtr font;   
        
        fontHandle = DmGetResource('NFNT', pwdFnt );
        font = MemHandleLock ( fontHandle );
        FntDefineFont ( 128, font );
        MemHandleUnlock ( fontHandle );

and this where your initialze the field
FldSetFont ( fld, 128 ); 

oh yeah and dont forget to define pwdFnt to resource in number in your resource header.


Philip Streck
Akron General Medical Center
Information Systems

>>> amritha aithal <[EMAIL PROTECTED]> 06/27/01 11:11AM >>>
Hi Phillip,

I have  implemented Password field in my application
.But I am displaying the PW  as little boxes .But I
would like to display it as '*' s instead. Could u
please let me know how u implemented them,how did u
create a font for pilrc(Basically,I dont know what's
that pilrc stuff about).

Waiting for your reply.
Thanks,
Amritha.


 --- Phillip Streck <[EMAIL PROTECTED]> wrote: > Well,
after I showed the director of security the
> first palm app that was to be deployed he said it
> was great, except the password needed to show up as
> '*'s.  So i had remembered talking about this
> before, and the simplest solution being setting the
> font to symbol 11 or something of the sort and have
> little boxes show up.. well i didnt like that so i
> created a font for pilrc ( thanks for the example
> Aaron :) that has all '*'s in it.. not why no would
> did this before.. anyways i'll send it out to anyone
> who wants it.  Just though i'd let you guys know.
> 
> later,
> 
> 
> Philip Streck
> Akron General Medical Center
> Information Systems
> 
> 
> --
> For information on using the Palm Developer Forums,
> or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/ 

=====
Necessity is the corner stone of all newer discoveries and inventions.

____________________________________________________________
Do You Yahoo!?
Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk 
or your free @yahoo.ie address at http://mail.yahoo.ie 

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


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

Reply via email to