In constructor, open the alert resource, click on Item text 0, then go to
edit and select 'New Button title'.  You will get a new button.

When you call FrmAlert(..), it will return the button number when one of the
button is pressed.

Jacky

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Labhesh
Patel
Sent: Thursday, January 11, 2001 3:20 PM
To: Palm Developer Forum
Subject: FrmAlert OK Cancel


Hi,

   How do I display a message box with an OK and a Cancel button.
The APIs FrmAlert and FrmCustomAlert do not support this. Also I cannot add
a cancel button when creating a new resource in the resource
editor.(Constructor for Palm OS)


bye
Labhesh Patel
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com


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

Reply via email to