MenuHideItem

2001-02-01 Thread Michael Morton
has anyone used this function? when i try it, i get : Error : undefined identifier 'MenuHideItem' at: MenuHideItem(mnuMyMenuItem); i tried searching the header files for "MenuHideItem" but it didnt find anything by this name. in the online docs it says MenuHideItem is

MenuHideItem

2002-03-11 Thread Richard Bell
I'm tryint to use MenuHideItem so that I can use the same menu resource for a sequence of forms. Everything seems to work fine until I added an Add option to the menu. The Add option is the last option on the menu. On the first form I hide items 2,3,4 from the menu leaving the first ite

MenuHideItem

2003-03-28 Thread Mark Cameron
After an excruciating hour+ of searching this list and the knowledge base, I've found a handful of postings that indicate the MenuHideItem function is broken. Can someone please confirm this? I'm testing on Palm OS 4.1, and it simply ignores my calls to MenuHideItem. I've tr

Re: MenuHideItem

2001-02-01 Thread Michael Morton
>Error : undefined identifier 'MenuHideItem' > >at: >MenuHideItem(mnuMyMenuItem); > >i tried searching the header files for "MenuHideItem" but it didnt find >anything by this name. > >in the online docs it says MenuHideItem is "Implemented only if

Re: MenuHideItem

2001-02-02 Thread E.L.
I used MenuHideItem and it works fine. you shouldn't setting hidden attr to true manually. "Michael Morton" <[EMAIL PROTECTED]> wrote in message news:37916@palm-dev-forum... > > little more info... > > should i do: > MenuGetActiveMenu()->menus[0]->items[

Re: MenuHideItem

2001-07-25 Thread Eamon Kelly
::EventHandler (EventPtr eventP) { Boolean bHandled=false; switch (eventP->eType) { case menuOpenEvent: MenuHideItem (MyMenuItemID); bHandled = true; break; } return bHandled; } the menu in question has 10 items, and MyMenuItemID is item 4. Wh

Re: MenuHideItem

2001-07-25 Thread Gert-Jan Vons
;Eamon Kelly" <[EMAIL PROTECTED]> >Subject: HideMenuItem > >hi, >has anyone got "HideMenuItem" to work properly? >I tried it using this code: > >Boolean BaseFrm::EventHandler (EventPtr eventP) >{ > Boolean bHandled=false; > switch (eventP-

Re: MenuHideItem

2001-07-26 Thread Eamon Kelly
hi Gert-Jan, unfortunately MenuHideItem fails if it is called in frmOpenEvent I also tried FrmSetMenu followed by MenuHideItem in frmOpenEvent without success. Something that might give a clue is that in menuOpenEvent, eventP->data.menuOpen.menuRscID is always zero whereas the manual says

RE: MenuHideItem

2002-03-12 Thread Scott Johnson
> From: Richard Bell [mailto:[EMAIL PROTECTED]] > I'm tryint to use MenuHideItem [...] > I hide items 2,3,4 from the menu leaving the first item and > the Add option (the last item). I can select the first item, > but when I select the last item the emulator just locks

RE: MenuHideItem

2002-03-13 Thread Linke, Andreas
> From: "Scott Johnson" <[EMAIL PROTECTED]> > ... > Yes, MenuHideItem is seriously broken on OS 3.5 as you can > see. The only > workaround I know is to directly poke the internal menu structure. Yes, I also found this out the hard way. MenuHideItem should be

MenuHideItem problem

2004-06-14 Thread Shannon
Hi all, I have an application that needs to hide a menu item in different situations. I came across the MenuHideItem method, and this works great for OS version 4.0 and above. The problem occurs on OS 3.5.THe item in the menu is made invisible, but there is still a blank space where that menu

RE: MenuHideItem

2003-03-28 Thread Mark Cameron
Oops... never mind. I'm just being an idiot. I messed up my resource IDs for the menu items, so I was calling MenuHideItem with invalid numbers. Thanks anyway, Mark Cameron Techneos Systems Inc. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of

MenuHideItem and MenuShowItem

2005-11-21 Thread kiranp
Hi All, I am using MenuHideItem(ID); and MenuShowItem(ID); to update the menus at run time. the problem I am facing is Everything works fine for the first time My menu gets updated. But If I do it once again, my "menuOpenEvent" never gets called. Then I once again create the same fo

Re: MenuHideItem problem

2004-06-14 Thread Chris Faherty
On Monday 14 June 2004 12:27 pm, Shannon wrote: (re broken MenuHideItem on OS 3.5) > Why isn't this working? Am I going to have to resort to creating separate > menus? Unfortunately I think you'll have to implement a work-around, such as using separate menus, for OS 3.5. I

Strange bug? on MenuHideItem call?

2000-12-05 Thread Lee, Eric
Here is the situation. There is one menu item on the menu. Add second menu item via MenuAddItem then hide first one by calling MenuHideItem. now I have both first and second itmes are hidden. and palm freeze if you try to select hidden menu item (it's hidden but blank spce still shows up

MenuHideItem() can't hide first item?

2001-01-19 Thread Peter Hebert
If you try to hide the first item in a menu, it shows up as a blank space on the menu and you lose the last item on the menu. I was looking in the OS 3.5 sources and it looks like that the drawing routine DrawOneItem(), when passed the second item and an offset of zero, sees the offset zero and t

MenuHideItem issues. Really really bad

2001-01-23 Thread E.L.
Hi all Some bugs that I found on MenuHideItem() function... 1.) Hiding 1st item on the menu will hang / crash the system 2.) Hiding dynamically created menu item, which create by MenuAddItem(), will hang / crash the system. I'm very very disppointed and desperated trying to fix

MenuHideItem causes menu to freeze

2002-06-07 Thread Kevin
I have found on my Handspring running OS 3.5.2H that if I hide a menu item using MenuHideItem the menu the hidden item is in no longer responds to any selections. This seems to occur only on my Handspring and not on my M505 running 4.0. Kevin -- For information on using the Palm Developer

RE: MenuHideItem issues. Really really bad

2001-01-23 Thread Kevin O'Keefe
Don't hide the menu item, just beep when they try to use it? > -Original Message- > From: E.L. [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, January 23, 2001 9:48 AM > To: Palm Developer Forum > Subject: MenuHideItem issues. Really really bad > > > Hi all &

RE: MenuHideItem causes menu to freeze

2002-06-07 Thread Robert McKenzie
item you tapped on. There is a brain-dead error in it (someone forgot to increment the pointer) which causes an infinite loop. Big woopsie! I just ran into this bug myself last week working on DualDate. The solution is to not use MenuHideItem on OS 3.5 -- use the old trick of multiple menus

RE: MenuHideItem causes menu to freeze

2002-06-07 Thread Scott Johnson
From: Kevin [mailto:[EMAIL PROTECTED]] > I have found on my Handspring running OS 3.5.2H that if I hide > a menu item using MenuHideItem the menu the hidden item is in no > longer responds to any selections. This seems to occur only on my > Handspring and not on my M505 runni

Re: MenuHideItem causes menu to freeze

2002-06-07 Thread Chris Tutty
From: "Robert McKenzie" <[EMAIL PROTECTED]> > This is a bug in OS 3.5. (I do not know if it was fixed with some of the > 3.5.x updates, but it IS fixed in 4.0.) Menu Hide Item works just fine, but > then if you tap on a menu with a hidden item, there is code in the menu > Then isn't it a bit m

Re: MenuHideItem causes menu to freeze

2002-06-07 Thread Craig Belson
> Then isn't it a bit misleading for the 4.0 > documentation to state > that this function is available for PalmOS 3.5? > > Is there any chance of PalmOS releasing a > documentation set that > includes the OS versions functions are known to be > broken on, not > just those for which a partially w

May I use "MenuHideItem" other than menuOpenEvent places??

2005-05-26 Thread Prabakar MP
Hi All, I want to use Show and Hide the Menu Item, other than the place of menuOpenEvent. Can be used "MenuShowItem" or "MenuHideItem" calls other than "menuOpenEvent"??? Can anyone give me some ideas, that would be appreciated. - Martin. -- For infor

MenuHideItem() to hide the first item from a pulldown menu

2002-12-16 Thread Thomas Maeder
I have problems hiding a menu item using MenuHideItem(). Context: In response to the menuOpen event, I'd like to dynamically create a pulldown menu. In Constructor, I have created a pulldown menu containing one single item which serves as a placeholder. When handling menuOpen, I us

MenuHideItem and Menu show item crash my Palm V (os 3.5)

2000-10-19 Thread Richard Anderson
Hi The following code hangs my Palm, looks like a bug to me. case menuOpenEvent: if (G_prefs.PPL_mode) { MenuShowItem (MainOptionsDiameter); } else if(!G_prefs.PPL_mode) { MenuHideItem (MainOptionsDiameter

Re: MenuHideItem() to hide the first item from a pulldown menu

2002-12-16 Thread Larry Gilbert
The dynamic UI features tend to have a lot of gotchas that aren't adequately documented. I have heard that trying to dynamically manipulate a form object that's in the middle of a list of other objects is fraught with peril. So I can only assume the same holds true for menus. Thus, instead of

Re: MenuHideItem() to hide the first item from a pulldown menu

2002-12-18 Thread Thomas Maeder
Larry Gilbert <[EMAIL PROTECTED]> writes: > > Thus, instead of making a placeholder menu item in the middle of your > menu and fiddling with that, I'd try dynamically adding menu items > starting with the item you want to be dynamic, then adding the rest of > the menu items below that one. Maybe t

Re: MenuHideItem and Menu show item crash my Palm V (os 3.5)

2000-10-20 Thread Richard Burmeister
- Original Message - Subject: MenuHideItem and Menu show item crash my Palm V (os 3.5) > The following code hangs my Palm, looks like a bug to me. > > case menuOpenEvent: > if (G_prefs.PPL_mode) > { > MenuShowItem (MainOptionsDiameter); > } > e