> From: Nicolás Zeitlin
>
> 1) How can I tell what PDA the app is running on?

Normally, you don't.  Instead, you look to see what features the PDA
supports and don't call any it doesn't support.  (See the Compatibility
Guide in the docs for info on this.)

>
> 2) Can anyone help me on how to use FrmCustomResponseAlert()?
> Specifically,
> what I * don't * understand is how to handle the callback function. How
> should I use/fill/declare it? If you can link me to an example,
> or anything
> alike, I'll be more than thankful....

The callback function is a function you define, or pass in NULL if you don't
want to use a callback.  The OS will call your callback after one of the
alert buttons is tapped and your callback function returns true if you want
to close the alert and false if you don't like what they entered.  The docs
give the prototype as:

Boolean FormCheckResponseFuncType( Int16 button, Char *attempt );

So your function can check to see which button they pressed and what string
they entered and then decide if that is OK before closing the alert.



-- 
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