What's the difference? Why does it behave different?
The different is in your event-handler. If you call one of those Menu* functions before, the menuOpenEvent is not fired:
MenuGetActiveMenu()
MenuInit()
MenuSetActiveMenu()


In the Grouper source grouper.c:1512 in SetMode()
MenuBarPtr mb = MenuGetActiveMenu();
if (!mb) {
        mb = MenuInit(idMenuGrouper);
        MenuSetActiveMenu(mb);
}

If you temporary comment this out, you will get your menuOpenEvent. Be also beware of the handled return state of your event handler is correct.
Solution: To get your dynamic menu to work, move your dynamic menu source code to menuOpenEvent.


This behaviour is also in Palm OS 4.1 efigs debug ROM.

best regards,
--
* * * * * * * * * * * * * * * * * * * * * * * * * * * *
Ralf Dietrich                  www: http://www.envicon.com
envi.con KG                    mail:[EMAIL PROTECTED]
Emser Platz 2                  Tel: +4930-34902670
10713 Berlin/Germany           Fax: +4930-34902671

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

Reply via email to