From: "ThuNguyet Nguyen" <[EMAIL PROTECTED]>
Subject: Highlight a button
> Anyone please tell me what to do so the button will be highlighted when a
user tabs on it.
Maybe I don't understand what you are trying to accomplish, but the OS takes
care of highlighting buttons when you tap on them. All you have to do is
add code to do whatever processing you want your app to do when the button
is tapped. For example, see the following code from MainFormHandleEvent()
in one of my apps:
case ctlSelectEvent:
if ( eventP->data.ctlEnter.controlID == MainNewButton )
{
StartNewGame( );
handled = true;
}
break;
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/