Menu Show Delay Time

Page 4 of 4 FirstFirst ... 234

  1. Posts : 2
    Windows 7 Ultimate

    The registry entry MenuShowDelay works very strangely under the MFC Feature Pack. The value is used for menu closure delay:
    We saw on some machines where our application is installed (obviously using Feature Pack) that sub menus are not closing. let's say in a drop down I have 2 entries which are sub menus (S1 and S2) and 10 other (lead menus (M1, M2... M10). When I opened the drop down and the cursor was placed on S1 , the corresponding sub menu is displayed. Now I moved the cursor to a leaf menu (M1..M10) and the sub menu is no closed. When I moved to S2, the submenu display is changed accordingly. But again, moving to a leaf leaves the sub menu open
    We saw that this behavior occurs when the MenuShowDelay registry key (at HKEY_CURRENT_USER\Control Panel\Desktop) value is zero.
    I am not sure how the value got the value. In any case, the value should be used for menu showing delay and not for menu hiding delay. So it seems Feature Pack hooked on a registry key used for something else.

    Any ideas?
    Thanks in advance! blapath
      My Computer

  2. Posts : 72,183
    64-bit Windows 11 Pro for Workstations
    Thread Starter

    Hello Blapath, and welcome to Seven Foirums.

    That is a strange issue. How does it behave if you change the MenuShowDelay value to say 3, or back to the default of 400?
      My Computer

  3. Posts : 2
    Windows 7 Ultimate

    In general the registry key value is 400 and menu opening/hiding works normally. The problem occurs when the value is zero. In this case a sub menu opened correctly and immediately, but when i move the cursor to a leaf menu entry, the previously opened (and displayed) sub menu remains to be open. If cursor moves to another sub menu, than the new one is opened. Of course at this point this last sub menu remains open when I move to leaf entry. This opened sub menu remains open, as far as the cursor moves to other leaf entries.
    I just tested the case with other values. Here is what I see: when value is small (1 or 10), sub menu appears immediately and closes immediately when cursor moves to a leaf. When value is big (5000), sub menu opens after the defined time and also closes after delay: cursor moved to a sub menu entry; wait 5 sec until sub menu opens; move to another sub menu, then the opened sub menu remains displayed and only after 5 sec the new one is displayed; move to a leaf entry then the opened sub menu remains open 5 sec before it is closed.
    I think the delay is sub menu closing is a bug; at least the registry key name indicates only 'opening delay' - but at least it is consistent: the same amount of time waited for opening and for closing. In any case, it seems value zero is handled as a special case, as in this case opening is not delayed, and closing is delayed indefinitely.
    I emphases: the problem occurs only for application developed with the MFC Feature Pack. I use Windows 7, the registry key currently is set to 5000 (I didn't reset my host) and menus open and close normally. I opened iTunes, SQL Server Management Studio, Notepad++, FileZilla Client - all of them behaves normally, without any delay in sub menu opening or closing. So it seems Win7 in general doesn't even look at the registry key, but Feature Pack does it (even without restarting the host).
      My Computer

  4. Posts : 38
    Windows 7/ Ubuntu

    emibel said:
    Just a warning about setting the delay to -1, as I suggested above, for not allowing the sub-menu to pop up until you click it. I found that it crashes Visual Basic 2010 Express whenever you click on any of the menu items. Accordingly I've now set it to a large positive value (20000 for a 20-second delay) and that avoids the problem.
    Thanks for this tip emibel! This was really irritating me. I don't know whether I am a clutz or its my mouse but I can't keep the cursor on the right menu when it auto-opens sub-menus. So making it open faster was even worse. Its probably the fact that I use the mouse on my bed but your tip helped wonderfully.

    Thanks again.
      My Computer

  5. Posts : 960
    Windows 7 Ultimate SP1 - 64 Bit

    While reading this:


    The Fade or slide menus into view and Fade out menu items after clicking Visual Effects optiond will also affect how fast menus open and close. Unchecking these options will help speed it up in addition to doing the steps in this tutorial below."
      My Computer

  6. Posts : 72,183
    64-bit Windows 11 Pro for Workstations
    Thread Starter

    Oops, corrected. Thank you. :)
      My Computer

  7. Posts : 47
    Windows 7 Professional x64

    Hi, what is the different between this and Mouse Hover Time?

    I want to slow things like help pop up so i need more time hovering before it pops up.

    But i don't want it to slow things like drag and dropping into another background window.
    i.e. dragging a Photoshop file from the explorer into THE Photoshop window
      My Computer

  8. Posts : 72,183
    64-bit Windows 11 Pro for Workstations
    Thread Starter

    Hello Valmighty,

    Mouser hover time is the delay time, in milliseconds, that the mouse pointer has to stay hovered on a item before tooltip popups display.

    Mouse Hover Time - Change

    Menu show delay time is the amount of time it takes for a menu to pop, fade, or slide open when you hover the mouse pointer over it.

    Hope this helps, :)
      My Computer

  9. Posts : 1
    Windows 10 Enterprise x64

    This works on Windows 10 too. There should be login sharing between 7, 8 and 10 forums. =/
      My Computer

  10. Posts : 72,183
    64-bit Windows 11 Pro for Workstations
    Thread Starter

    Moppusan said:
    This works on Windows 10 too. There should be login sharing between 7, 8 and 10 forums. =/
    Thank you for confirming.

    I'm afraid that since they are separate sites, they require separate registration.
      My Computer

Page 4 of 4 FirstFirst ... 234

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd
All times are GMT -5. The time now is 12:34.
Find Us