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
blapath

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
Brink
Microsoft MVP

64-bit Windows 10 build 10159
 
 

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
blapath

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
mmmelaney

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
Infinite

Windows 7 Ultimate SP1 - 64 Bit
 
 

While reading this:

"Tip

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
Brink
Microsoft MVP

64-bit Windows 10 build 10159
 
 

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

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
Brink
Microsoft MVP

64-bit Windows 10 build 10159
 
 

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,
Shawn
My System SpecsSystem Spec
Comment

 Menu Show Delay Time




Tutorial Tools





Similar help and support threads
Windows 7 Tutorial Category
Windows 7 X64 USB installation - Is this a 'normal' delay time?
Every time I install Windows 7 X64 (or X86) from USB I get two unexplainable delays for no apparent reason and I wondered if this was normal or just my system? OK, I boot up and the files are copied from the USB to the PC. Fine. Then there's at least a 5 minute delay before the language choice...
Installation & Setup
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? http://img696.imageshack.us/img696/8706/delay.jpg...
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
Taskbar Thumbnail Previews - Change Delay Time
How to Change Taskbar Thumbnail Previews Delay Time to Display in Windows 7 and Windows 8 This tutorial will show you how to change the delay time for how long it takes to display taskbar thumbnail previews when you hover the mouse pointer over a taskbar button for only your user account in...
Tutorials

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 15:46.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App