Maybe you could do a simple test and put this right after EvtGetEvent
(somewhere in your main apploop,
before MenuHandleEvent() )

if( event.eType == frmObjectFocusTakeEvent )
    continue ;

This event has always closed the menu for me, so try and see.
However this is not a solution, as 5-way navigation relies on this event:(

Regards,
    Miro Pomsar


----- Original Message ----- 
From: "Stephen Best" <[EMAIL PROTECTED]>
To: "Palm Developer Forum" <[email protected]>
Sent: Friday, February 25, 2005 09:56
Subject: Re: Treo 650 menu disappears


> "If you do drawing in response to winEnterEvent and you redraw a control
that
> is currently selected ..."
>
> I'm drawing on a nilEvent but toggle a drawOK flag on
winEnterEvent/winExitEvent:
>
>    case winEnterEvent:
>
>       if ( event->data.winEnter.enterWindow == (WinHandle) frm )
>   drawOK = true;
>
>       break;
>
>    case winExitEvent:
>
>       if ( event->data.winExit.exitWindow == (WinHandle) frm )
>          drawOK = false;
>
>       break;
>
>    case nilEvent:
>
>       if ( drawOK )
>          do drawing etc.
>
>       break;
>
> This has worked since time immemorial. Maybe the problem is not drawing
over the menu but something else that dismisses it.
>
>
> -- 
> For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please 
see http://www.palmos.com/dev/support/forums/

Reply via email to