Putting new event in queue

2007-02-15 Thread Rabbi
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),

Re: Putting new event in queue

2007-02-15 Thread Aaron Ardiri
On 2/15/07, Rabbi [EMAIL PROTECTED] wrote: MemSet(event, sizeof(EventType), 0); should be: MemSet(event, sizeof(EventType), 0); your passing the address of a pointer - which you should NOT be passing. -- // Aaron Ardiri -- For information on using the

Re: Putting new event in queue

2007-02-15 Thread Rabbi
Thanks Aaron Ardiri i eliminated the error. Actullay i wanted to open whole menu list of a menu bars eg: suppose i have options menu in which i have Cut,Copy,Paste. Now i have to open options menu such that the list of cut ,Copy paste is been seen instead now i m able to open a single event