Hi,

you can catch them, but you have to do it *before* calling SysHandleEvent(). (So impossible from FrmDoDialog(), you have to have a full event loop.)

if( event.eType == keyDownEvent )
{
        int chr = event.data.keyDown.chr ;
        if( chr == hsChrVolumeUp ||
        chr == hsChrVolumeDown ||
        chr == hsChrSide)
        {
                ...
        }
}

For hsChrVolumeUp etc. declaration search Palm SDK.
#define hsChrVolumeUp                             0x161B
#define hsChrVolumeDown                           0x161C

// Button below volume buttons on treo
#define hsChrSide                                         0x161F


Regards,
        Miro Pomsar


Deb wrote:
Hello All,
How can I handle the side button? I have read many docs and I really have some 
doubt that according ability is existed.

PS: I work with CW93

Thanks


--
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/

Reply via email to