"Michael Glickman" <[EMAIL PROTECTED]> wrote in message news:70269@palm-dev-forum... > > FmtSetFont doesn't work probably because FrmCustomAlert function > reckons that the message is extremely important and uses its own > FntSetFont to overwrite your settings.
I viewed the source of FrmCustomAlert and your absolutley right, (to my surprise) they do override the font setting. <snip file="form.c" function="FrmCustomAlert"> curFont = FntSetFont (boldFont); </snip> How the guys/girls at palm came up with that idea I'll never figure out. At least they could have given the user a chance to tell FrmCustomAlert not to use the defualt font for an alert but instead use the currently set font..... Anyways I'll go write my own alert handler now. cheers /Rickard > Of course you can have your own dialogue instead of FrmCustomAlert, > where you can do anything, or rephrase the message to look neater > with bold. Al last, use line breaks '\n' - it often helps. > > M. > > > -----Original Message----- > From: Rickard [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, 5 December 2001 8:08 PM > To: Palm Developer Forum > Subject: Help needed: Setting the font on a FrmCustomAlert > > > Hi. I have a problem when I call "FrmCustomAlert(MyAlert, "text", "text", > "text");" the alert popups and the text is displayed in bold font. I want > to change the font of the displayed text but have no idea on how to do it. > > "oF = FntSetFont(ledFont);" dosent do it. > The alert resource dosent have a font property (at least according to Palm > OS Reference) I'd figured that there's no idea trying to do it that way. Am > I wrong? > > Anyways if you know how to do this please let me know. > > Best regards > /Rickard > > > > -- > 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/
