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
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
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
>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
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[
::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
;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-
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
> 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
> 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
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
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
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
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
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
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
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
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
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
&
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
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
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
> 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
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
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
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
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
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
- 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
29 matches
Mail list logo