Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.

Windows 7: Menu Show Delay Time

24 May 2011   #30

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 System SpecsSystem Spec
24 May 2011   #31

64-bit Windows 10 Pro

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 System SpecsSystem Spec
25 May 2011   #32

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 System SpecsSystem Spec
25 Jan 2012   #33

Windows 7/ Ubuntu

Quote   Quote: Originally Posted by emibel View Post
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 System SpecsSystem Spec

28 Jan 2012   #34

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 System SpecsSystem Spec
28 Jan 2012   #35

64-bit Windows 10 Pro

Oops, corrected. Thank you. :)
My System SpecsSystem Spec
24 May 2015   #36

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 System SpecsSystem Spec
25 May 2015   #37

64-bit Windows 10 Pro

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 System SpecsSystem Spec
08 Aug 2015   #38

Windows 10 Enterprise x64

This works on Windows 10 too. There should be login sharing between 7, 8 and 10 forums. =/
My System SpecsSystem Spec
08 Aug 2015   #39

64-bit Windows 10 Pro

Quote   Quote: Originally Posted by Moppusan View Post
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 System SpecsSystem Spec

 Menu Show Delay Time

Thread Tools

Similar help and support threads
Thread Forum
Add a delay time to Taskbar autohide?
I like using autohide for the Taskbar, but it can sometimes be annoying when using a full-screen program in that when you approach the bottom of the screen the Taskbar pops up over the program you're using. What I'd like is a registry entry where I can either add a delay time so that the Taskbar...
General Discussion
How do I pin a folder to Start Menu and have it show Task side menu?
I guess this is best explained with images, so here's what I want. (If possible of course). So in this screenshot you can see my Start Menu, notice that some of this icons (Steam,...
Devices and Printers Menu Delay???
Hello, maybe this is a very stupid and paranoic question but i have a pc and a laptop both with Windows 7... Whenever i enter to Devices and Printers on the laptop it enters immediately but when i do the same in PC (which is way more powerful machine) it enters but has a little (i mean little...
General Discussion
delay time problem
hii all when i click start .. the start menue appear and when i move the mouse over a program its recent files appear instantly which is annoying me .. is there any way to make delay time for it ? thats to appear after 0.5 sec and not instantly?
General Discussion
Extra Long Delay In Connect Time?
I can't figure out why I have such a delay in my computer being able to connect. Once I start up, the white bars will show instantly, sometimes with the yellow mark in them, sometimes not. Even if the white bars show up instantly I still cannot connect. It takes like 30 to 60 seconds until I can. I...
Network & Sharing

Our Sites

Site Links

About Us

Find 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 21:40.
Twitter Facebook