"Smiley Wong" <[EMAIL PROTECTED]> wrote:

> Is there a way to show a Form or use Alert in an HackMaster
> Extension? if so, how?

Yes. You have to open your hack database to get access to the 
resources. Here is an example from one of my hacks:

UInt16
DoHSAlert(Char *timestr, Char *unitsstr)
{
    DmOpenRef           dbP;
    UInt16              button = 0;

    if ((dbP = DmOpenDatabaseByTypeCreator('HACK', MYHACKCRID,
                        dmModeReadOnly)))
    {
        button = FrmCustomAlert(ALIDtoolong, timestr, unitsstr, NULL);
        DmCloseDatabase(dbP);
    }

    return button;
}


--
Roger Chaplin
<[EMAIL PROTECTED]>

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palm.com/devzone/mailinglists.html

Reply via email to