A submenu (`ToolStripMenuItem`) does not show automatically.
- by czuk
I have encountered strange problem with a three-level context menu. In some situation the sub menu does not show automatically. I have following structure of the menu:
* AAA - level 1
* BBB - level 1
* CCC - level 2
* xxx - level 3
* yyy - level 3
* DDD - level 2
* zzz - level 3
* vvv - level 3
I start from a menu with two option AAA and BBB. After I move the cursor over BBB the second-level menu appears with two other options CCC and DDD. So far OK. Now, when I quickly move the cursor over DDD the third-level sub menu does not show up, but when I move the cursor back to CCC the sub menu shows up, and when I go back to DDD then the sub menu also shows. Why it does not show at first time?
Have you ever encountered such a problem? I fixed the problem with MouseEnter and MouseLeave events, but I still wonder why it does not work properly without the events.