Ken Krugler wrote:
> That would work, though now you've got a hard-coded string in your
> code, which can't easily be localized. If you are going to use
> StrPrintF, it would be good to load the template from a tSTR resource.
Yes, but I didn't want to obscure the point which was about using only ^1 in
the alert. The code I actually use is:
SysCopyStringResource( str, ThankYouFmtString );
StrPrintF( msg, str, name, code );
FrmCustomAlert( GeneralAlert, msg, NULL, NULL );
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palm.com/devzone/mailinglists.html