Is there a way to programmatically change a help string resource? Here's my
scenario:
I have an alert defined in PilRC like this:
ALERT ID MyAlert
CONFIRMATION
HELPID MyDefaultHelpString
BEGIN
TITLE "My Title"
MESSAGE "A message ^1 containing ^2 wildcards ^3."
BUTTONS "OK" "Cancel"
END
STRING ID MyDefaultHelpString "This is the default help."
I can customize the alert (fill in the wildcards) by calling
FrmCustomAlert(MyAlert, s1, s2, s3);
where s1, s2, and s3 are strings.
But what if I want to change the help string, too? Is there any way of
directly editing MyDefaultHelpString? Alternatively, can I create another
string resource like
STRING ID MyOtherHelpString "This is the other help."
and programatically tell the alert to use MyOtherHelpString instead of
MyDefaultHelpString?
I can't find anything about this in the usual books and online docs. Is
there some trick that someone has come up with, or am I trying to do the
impossible?
Thanks,
Jay
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/