At 09:11 PM 22/06/99 +0200, you wrote:
>Hi All
>
>Env: Win98, CodeWarrior 5, Palm3 (Symbol)
>
>I am pretty new to the world of Palm developement and am curious about
>message boxes. In Delphi if I want to display a simple message to the user I
>simply call MessageDlg( blah blah... ) or ShowMessage( etc etc... ).
>
>Is there somthing equivalent for the Palm without having to create one from
>scratch.
The standard way I do this is to create a single alert resource in
Constructor with the look I want, a generic title like "Alert", and the
message text being "^1". Then you can pop up a message with the text you
want using:
FrmCustomAlert(myAlertIDHere, "my message here", NULL, NULL);
You can use ^1, ^2, and ^3 anywhere in the message text when you create the
slert, and the three parameters of the FrmCustomAlert call get substituted
for them.
Heck, if you want, you can encapsulate the call into a function called
"MessageDlg" which takes only a string in, and you can feel right at home.
Look up FrmCustomAlert in the docs for more complete details.
Kris Wilk
ReefNet Software
www.reefnet.on.ca