I am currently working on palm application & want to include menu as part of the app.....unfortunately, when i try using the menu the following error come out
"UIResource.c, Line : 231, Menu rsrc not found"
and the following is my code:
can sb solve my problem ???
#############################################
/ case menuEvent :
MenuEraseStatus(NULL);
handled = MainMenuHandleEvent(event); break;
##############################################
static Boolean MainMenuHandleEvent(EventPtr e)
{
Boolean handled = false;
switch(e->data.menu.itemID) {
case OrderListMenuCurrent :
FrmCustomAlert(alert,"Current","","");
handled = true;
break;
case OrderListMenuAdhoc :
FrmCustomAlert(alert,"Adhoc","","");
handled = true;
break;
case OrderListMenuReview :
FrmCustomAlert(alert,"Review","","");
handled = true;
break;
default:
break;
}
return true;
}
###############################################################
MENU ID OrderListMenu
BEGIN PULLDOWN "Option"
BEGIN MENUITEM "Current In Truck" ID OrderListMenuCurrent
MENUITEM "Adhoc Customer" ID OrderListMenuAdhoc
MENUITEM "Review" ID OrderListMenuReview
END
######################################################
FORM ID OrderListForm AT (2 2 156 156) MENUID OrderListMenu BEGIN TITLE
/
-- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
