Hi, I have a function in which i am taking the eventPtr as a parameter from mainForm here i want to generate a new event in that function. so that i can call menu event from that function.
Below is the code that i have written to generate event MemSet(&event, sizeof(EventType), 0); event->eType = menuEvent; event->data.menu.itemID = ListOptionsMenu; EvtAddEventToQueue(event); Note: here EventPtr event is passed to the function from my main form. I am getting a error: "run68k.c, Line:2306, Null access write to 00000000" Queries: 1) Can menu be access from a button in a form. 2) is there any other method to access menu from a button when we r not in main form Any Help would be appriciated Thanks in advance -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/