I edited your code below, hope will solve your problem
Cheers,
--- Wojciech Godynski
<[EMAIL PROTECTED]> wrote:
> Search the list for word exit, you will find it.
> Rathaiah wrote:
>
> >
> >Hai Friends
> >I developed one palm application, that
> application have one button name
> >"exit"
> > when I press the button 'exit' button , need to
> close my application and
> >come out to Palm desktop.
> >I wrote the code for that button ,
> >like the following , but I got an error and empty
> screen when I prees
> >the Exit button.
> >///*************Exit Button event
> Handling************///////////
> > case ctlSelectEvent:
> > {
> > switch(event->data.ctlSelect.controlID)
> > {
> > case PatientListExitButton:
> > {
> > DmCloseDatabase(PatientDB);
EventType fakeEvent;
fakeEvent.eType = appStopEvent;
EvtAddEventToQueue(&fakeEvent);
> > }
> >}
> >///************************//////////////
> >
> >any one knows please help me.
> >Advance thanks
> >Thanks and Regards
> >rathaiah
> >
> >
> >
>
>
>
>
> --
> For information on using the Palm Developer Forums,
> or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/
__________________________________________________
Do You Yahoo!?
Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger
http://im.yahoo.com
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/