adding tooltip for Toolband (Toolbar for IE) pop-up menu item

I am using the Toolband (Toolbar for IE) codegiven by codeproject. (http://www.codeproject.com/wtl/toolband.asp?df=100&forumid=2547&exp=0&select=1028441)Now I would like to add a tooltip for the menu item, not in the IE statusbar, it should be a normal tool tip. Howto do this? ...

tooltip to menu item

How can I add tooltip to menue item?I have menu, and each menu item opens another menu, and in this other menu, i want to add tooltip for each item.I tried to do addTooltipText but it isn't working. ...

Detect menu item selection

I want to know if there is a way to detect that a menu item is selected? Something similiar to whenwe select a menu item that has a submenu, it will bring a second menu. In my case, I want to do thatwhen the user moves the mouse over a certain menu item, it will bring either a tooltip or a small dia ...

jQuery Active menu item tutorial

Hi,I've written a small tutorial on how you can use jQuery to highlightthe current menu item. This allows you to maintain your navigation ina separate file. See here: <http://jeroencoumans.nl/journal/simple-accessible-jquery-menu>. I'm certain that there are improvements to bemade, but ...

jQuery Trying to show a div on mouseover of menu item...

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"><HTML><HEAD><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii"><META NAME="Generator" CONTENT="MS Exchange Server version 08.00.0681.000"><TITLE>Trying to show a div on mouseover of menu item... ...

jQuery Copying menu item from one menu to another

Hi,Let's say I have a SELECT menu with id = "fromMenu" and if a userclicks the "Add" button, I want the selected menu item from the"fromMenu" to be appended as the last item in antoher menu with id ="toMenu".I'm sure this is simple. How can it be done? ...

jQuery simple: how to dynamically set dropdown's selected menu item

i can't seem to find example for:simple html dropdown<select id="myDD"><option value="hi">hi</option><option value="hello">hello</option></select>jquery code needed toset *selected item* to "hello".... based on knowing t ...

jQuery Getting menu item Li 2do 2 things at once? onclick+typical

Hi... just starting out to get this going. I have ONE html/jquery page running well localhost. Now I need to get the menu items to do two things at once.OBJECTIVE: click on menu item. have it do regular href ID call AND also, I guess, an onclick function to call a different flv video for each menu i ...

jQuery Getting a menu item Li to do 2 things at once? onclick AND regular href trigger?

Hi... just starting out to get this going.I'm guessing that the reason onclick code has the #, for example: <ahref="#" onclick="someFunction.add "etc code etc etc" ></a>is because it can't do the onclick AND more typical things like thisexample:<li> ...

jQuery [Accordion] How to tell the plugin/navigationfilter that subpages are also part of a menu item

Hello,When the Jquery Accordion plugin is on a page, ie http://www.url.com/colours/green/,it collapses the accordion menu item where that link is located justfine.But how can I tell the plugin that it's also still on that page when Iam on a page like this:http://www.url.com/colours/green/1http:/ ...

jQuery How is it possible to have click on each 'a href' menu item and ALSO have another 'a href' trigger as well?

Hi...ALL the following occurs on ONE page of markup with ONE css file.[OBJECTIVE: when I click on my menu items I need another 'a href' toALSO trigger it's link event. I COULD put the second set of linksomewhere visible out of the way, though I just need them to beinvoked, one for one fo ...

jQuery [Superfish] 1st and 2nd level menu item widths

Does any know if it is possible to make the superfish drop down menuitem width the same as the main menu items widths (i.e. so that the1st and second level menu items have the same width) - And if so howdo you about setting it? Is it just in the CSS or is in the scriptsomewhere?I have been playing w ...

[superfish] How to focus on clicked menu item after menu item is clicked with jQuery ?

Hi,I am new to jQuery and using superfish popup menu widget to create amenubar. I have only four menus and 3 of them are not drop downs. So Iwant to focus on the clicked menu item. How could I use jquery or someother technique to do this. Kindly help me to solve this.Thank you,Tharindu Madushankatha ...

jQuery Joomla 1.5 & Superfish: blank page after adding menu item, menu items cannot be moved, sub menus acting funny

Any help with my problems below would be greatly appreciated.   Problem 1 Adding a menu item to my Superfish menu causes my Joomla 1.5 site to go blank. Turning on debugging a error reporting still results in a blanks page. Viewing the source is also blank. Total menu items in main menu ...

jQuery attaching JS function to a UL/LI menu item

Ok.  Extreme newbie here.I have a menu system that is structured in <ul>/<li> fashion. Code below.  How do I attach JS functions to any single item?  My functions will be going out and grabbing the static xml and applying some filtering/selections on it, then passing the r ...

jQuery using hoverIntent.js - need to affect style on a menu item

all. I'm not great with JS, but am trying to wade through it. I'm using the tutorial offered here to build a dropdown navigation mega menu :).Here's my js code:<script type="text/javascript"> $( document ).ready( function () { //magazine menu //Set custom configurations for drop ...

jQuery How to highlight main menu item ising .css()

I have a main menu, then a series of sub-menus that fade-in when one of the main menu items are clicked.  I want to highlight the main menu of the selected sub-menu and have done so using: liID = '#mainmenu' + menuID + " a"; jQuery(liID).css("color","black"); menucategory = menuID; Then when yo ...

jQuery superfish: change color of parent active menu item

I'm using the superfish menu and am very happy with it. I have a little problem: I can't find the way to change the color of a menu item that has sub items. I've tried playing around with the css for hours but couldn't figure it out how to set only this one. I also want that when the submenu shows t ...

jQuery Example for disabling menu item

I'd like to see a code example that demonstrates how to disable/enables a menu item when a certain event is fired. Will this functionality only be available with version 1.9 or would that work with the latest 1.8 version (autocomplete) also?  ...

jQuery Superfish - Little letter in menu item

Hi,   In the attached there is a little 'C' or little 'R' in the menu item. The menu item is an image. I have 5 menu items and only 2 of them have the little letter.   Any ideas?   ...

Enabling Mainframe Menu Item

I have a slightly strange issue with enabling a menu item on the mainframe window of my MFC project. Basically, my programme requires the user to input various pieces of data, after which he/she may run a simulation. To make the programme more user-friendly, I want the "Run" button to rema ...

jQuery UI SelectMenu control menu item text wrap

I am using the "selectmenu" that is under development as part of jQuery UI (initially from Filament Group:http://www.filamentgroup.com/lab/jquery_ui_selectmenu_an_aria_accessible_plugin_for_styling_a_html_select/then further development by Felix Nagelhttp://github.com/fnagel/jquery-ui)I am wondering ...

Image for a popup Menu item in VC++

I want to display image before a menu item that has a submenu (means it is a popup menu). So I have created a toolbar and assigned the same ID as of the menu item , but this works only on those menu items that are not popup and does not work on the popup ones. ...

On menu item again

I am stuck at how to access the menu itemMy menu has 5 items, the first one will have 5 subitems, and I am unable to access the subitemsCMenu* submenu=menu.GetSubMenu(0);ASSERT(submenu->GetSafeHMenu()); // This line throws exception ...

How can I highlight clicked menu item?

I have a vertical menu consisting of CSS rollovers. When clicked, each one dynamically loads a new Flash movie via Javascript, within the same page. This works fine. However, what I would really like, is to have each menu item highlighted after it has been clicked, to show the user what is being sho ...

Two links in a <li></li> = one menu item

I have a simple menu made of a list - see it here (http://www.komfrisk.dk/test/menutest.html). However, the last two items should be displayed in the same menu item - like this "A- A+" - without quotes, but what do I need to change in order to make that happen?As it is now - if I put two l ...

Cannot remove MFS_DEFAULT menu item state

In my MFC application I set a default menu item in the menubar by callingMENUITEMINFO MenuItemInfo;int nPos = m_eActualModesMenu;MenuItemInfo.cbSize = sizeof(MENUITEMINFO);MenuItemInfo.fMask = MIIM_STATE;BOOL boSuccess = ::GetMenuItemInfo( hMenu, nPos, TRUE, &MenuItemInfo );MenuItemInfo.fState | ...

Caption of highlighted menu item is truncated on Windows 7

In my application I have got a menubar. One Item of the menubar appears always in bold letters, by setting it as the the default-item.This works fine by running the application on Windows XP. But by running the application on a Windows XP or Vista computer, the caption of the menu item in bold lette ...

menu item enabling

MENU ITEM ID_VIEW_WINDOWS_MESH IS DISABLED WHEN PROGRAM STARTS, WHY NOT ENABLED? WHEN I PUT THE FUNCTION "SwitchToView(IDW_MESH_VIEW);" IN:void CSwicthViewFrame::OnShowWindow(BOOL bShow, UINT nStatus) {CFrameWnd::OnShowWindow(bShow, nStatus);SwitchToView(IDW_MESH_VIEW);}THE FUNCTION GETS C ...

Problem disabling/graying out menu item

I have a menu item that I wish to either disable or gray out. In the Menu Editor, no matter what I try (set enabled to false, set grayed to true), the menu item is still clickable/selectable during runtime. In resource view the menu item is indeed disabled/grayed...just not during runtime. What coul ...

Loading the menu item page in the center of main page??

I'm designing a web page, Having a banner on top, then a search option following it.There is a menu item list below it on to the left.And the content of the links of those menu item should get loaded in the center of the page.And a footer having some copyright info.All these are in div tags.The prob ...

Show content when mouseover a menu item

Once again I have a question I havn't been able to solve through search and experiments :pSee, I have a menu consisting of icons. When I hover one of the icons I want a little description of every single menu-item to show in a div at the top of the page. So, my problem is basicly how to toggle a div ...

Trouble grabbing class name from selected jQuery UI Menu item

I'm using the new Menu widget introduced in jQuery UI 1.9 Milestone 2 (http://blog.jqueryui.com/2010/06/jquery-ui-19m2-menu/).In my code below, I'm attempting to have the class name of a specified <div> replaced with the class name of the selected menu item. For example:<div id="box"> ...

Changing the check status of a menu item

i have a SDI Applikation made by MFC. I want to change the check status of one Menu Item.Ho can I do that?I´ve tried this:Adding the Command Event Handlervoid MyClass::CommandHandler(){MENUITEMINFOW mItemInfo;CWnd* pMainWnd = AfxGetMainWnd(); CMenu *mMenu = pMainWnd->GetMenu();CMenu *mSubMenu = ...

Popup Menu Item Events

First time of posting, so hello :)have done some searching and not got very far so hoping you lot can help,I am creating an win32 app in VC++ using visual studio 2008. By using the resource viewer>Menu I have created a new drop down menu and some sub menus options, when looking at the code view o ...

How do I Disable a menu item ?

I've the following code snippet to explain my problem of being unable to disable a menu itemIn CDlgClass.cppON_UPDATE_COMMAND_UI(ID_MYMENU_ITEM1, OnUpdateMymenuItem1)VOID CDlgClass::OnContextMenu(CWnd *pWnd, CPoint point) {CMenu cmCtxtMenu;cmCtxtMenu.LoadMenu(IDR_MENU_OPTIONS);CMenu *pcmPopupMenu = ...

jQuery How do I force the lavalamp menu plugin to move the selected menu item to where I want?

function MoveMenuToItem(menuitem) {$("ul#menu li").each(function() {$(this).removeClass("backLava");} )$("ul#menu").lavaLamp({ startItem: menuitem });} /*******************************************/ Above is a function I use to select a particular menu item in lavalamp.  There must be a better w ...

How can Enable and Disable menu item?

How can Enable and Disable Menu item in SDI type application of MFC-VC++2005.There is Enable and disable propery is present in Menu Properties but i dont want to use it because it is manully enable and disable menu item.i want to enable and disable requried menu item with using of function.Please he ...

Print Menu Problem --Print,Print Preview and Page Setup Menu item .

I m working on VC++2005 ,MFC, SDI-Type Application.When i m create my project i was no need of Print function so i was deleted Print("Print,Print Preview and Page Setup") Menu item from the Main menu.But now i want to use them ,I m add all these in Menu. But it is not working.Please tell m ...

how to disable the menu item....

In my MFC program, I'm trying to disable a menu item with EnableMenuItem(), but it doesn't have any effect on the menu. Why?And Can you please help me ti disable the menu item.I am Using ModifyMenu to set the menu items in the menu.can you please help me how to disable the menu items ...

disable main menu item in PPC

I need to disable one menu item attached with the softbutton. I am able to disable the menu items of the submenus but not able to disable the menu item of main menu. Consider the menus. Main menu has two items Menu1 Menu2->menu2.1 ->menu2.2 Now I am able to disable menu2.1 or menu2.2 but no su ...

Change the text of an existing menu item?

CMenu* menu;menu->EnableMenuItem(ID_Paste,MF_ENABLED); I have a menu resource created and linked into my dialog application. I'm already appending to it and dissableing and enableing menu items based on certain states of the program.One more thing i'd really like to do is modify the test of one o ...

Checked Menu Item not working

I have a menu attached to a dialogI have one menu item that is displayed as a checked menu itemWhen user selects this menu item I want to toggle the check markI have attempted this by adding a ON_UPDATE_COMMAND_UI handler -ON_UPDATE_COMMAND_UI(ID_OPTIONS_TOOLTIPS, &CToolTipsDlg::OnUpdateOptionsT ...

Menu Item's ID Event Name a Number, why?

When I create a menu ID for a menu item, such as, say ID_FILE_POP, and then I move to the CMainFrame class and in the properties window, under events, I don't find the ID_FILE_POP name. Rather, what I find is the number associated with that name in the resource.For instance, if the resource has this ...

Ubuntu Create menu item for prog in terminal?

I have a program which runs in terminal - no graphical front end. I'd like to create a menu item so that I can start it like any other application without first opening a terminal and having to remember/type the executable name.What would I need to put before the executable name in the 'command' fie ...

Checked menu item in CScrollView

I have a CScrollView in which I want to respond to a checked menu item. I wrote the handler, but it asserts at line 861 in Afxwin1.inl. That line is ASSERT(::IsMenu(m_hMenu)), which indicates that the pointer doesn't point to a menu. The call GetMenuItemCount() asserts. Why is it not a menu? Is ther ...

Creating a menu item for internet explorer

My task is to create a plugin for IE; I got most of it to work however I don't have an enable/disable button :D. The plugin simply does manipulation with pictures and when enabled a person simply selects a picture by clicking on it to begin. and a box popups up (in the browser) guiding the person. O ...

grayed menu item wont stay grayed

I added to the menu "Hello" (grayed by default), "Enable Hello" and "Check Hello". What i wanted to do was when you click "Enable Hello", "Hello" should be ungrayed so you can click on it to get an AfxMessageBox. The "Check Hello" should ad ...

Menu Item Not Working (10.04 64-bit Ubuntu)

Ok, thought I would post and see if I'm just stupid or what... I'm trying to make a menu item for Gish, so I right clicked on the menu and went to edit menus. Then I navigated to where I wanted it, put the information:Type: ApplicationName: GishCommand: /home/user/gish153/gish64When I try to open it ...

Need help in adding a Menu Item to a Context Menu using ATL...

I'm using the following sample :http://www.codeproject.com/useritems/Generic_AutoFill.aspwhich adds a MenuItem to IE's Context Menu.In this example auther added a Popup Menu Item to the IE's Context Menu.But I want to add a normal Non-Popup menu item. Once I click this normal menu item , I want to d ...