Re: Dynamically changing items in menu

2008-02-26 Thread Luc Le Blanc
Here's my code for that: enum// dynamic menu item IDs, followed by separator IDs { FirstDynamicMenu= 3000, OptionsAdjustBrightness = FirstDynamicMenu, OptionsAdvancedFeatures, SlopeCalculator, BackupToCard, RestoreFromCard, ConnectGPS, Disconnect

Re: Dynamically changing items in menu

2008-02-25 Thread heath . schaefer
PROTECTED]> Sent by: [EMAIL PROTECTED] 02/25/2008 01:47 PM Please respond to "Palm Developer Forum" To "Palm Developer Forum" cc Subject Re: Dynamically changing items in menu Michal Seliga wrote: > one possibility is to have 2 menubar resources and set needed >

Re: Dynamically changing items in menu

2008-02-25 Thread Luc Le Blanc
Michal Seliga wrote: > one possibility is to have 2 menubar resources and set needed > one with FrmSetMenu when you need to change it > another possibility is to react on menuOpenEvent and use > MenuHideItem for item you currently want to disappear. > details about how this event work are in > re

Re: Dynamically changing items in menu

2008-02-25 Thread Michal Seliga
Szymon Ulatowski wrote: Michal Seliga wrote: one possibility is to have 2 menubar resources and set needed one with FrmSetMenu when you need to change it another possibility is to react on menuOpenEvent and use MenuHideItem for item you currently want to disappear. details about how this eve

Re: Dynamically changing items in menu

2008-02-25 Thread Szymon Ulatowski
Michal Seliga wrote: one possibility is to have 2 menubar resources and set needed one with FrmSetMenu when you need to change it another possibility is to react on menuOpenEvent and use MenuHideItem for item you currently want to disappear. details about how this event work are in reference

Re: Dynamically changing items in menu

2008-02-25 Thread heath . schaefer
CTED]> Sent by: [EMAIL PROTECTED] 02/25/2008 10:28 AM Please respond to "Palm Developer Forum" To "Palm Developer Forum" cc Subject Re: Dynamically changing items in menu Hi, I'd point you to the appropriate calls in the SDK docs, but it looks like they don'

Re: Dynamically changing items in menu

2008-02-25 Thread Michal Seliga
one possibility is to have 2 menubar resources and set needed one with FrmSetMenu when you need to change it another possibility is to react on menuOpenEvent and use MenuHideItem for item you currently want to disappear. details about how this event work are in reference docs, read it, there

Re: Dynamically changing items in menu

2008-02-25 Thread Ryan Rix
Hi, I'd point you to the appropriate calls in the SDK docs, but it looks like they don't have them online at the new ACCESS portal... (When did they do this??? I cannot login to accessdevnet.com, and their docs are returning 404!) the docs /should/ be at http://www.accessdevnet.com/palmos.html imo

Dynamically changing items in menu

2008-02-25 Thread heath . schaefer
Hello, I know it is possible because Palm does this for their Web application "Blazer" on the E2. Under the Options menu they have "Optimized Mode" and "Wide Page Mode". If you select one it will put a dot next to indicating that it is the current selection. They also add/remove items to the Ed