-
On Hover Popupmenu
Basically what I'm trying to do is create a toolbar launcher, like rocketdock, but instead of having several rows of icons on top, just would like to categorize each by having a popupmenu assigned to a button
lets say i have 4 toolbar buttons
1. websites
2. application
3. online games
4. misc games
what i would like is when you "hover" to each of the 4 buttons, a separate submenu (much like a popupmenu), will show just under the buttons, when you hover on a different button, the popup shown previously should close (or hide) and show the new popupmenu for the hovered new button.
Now, I just have 2 questions...
1. I could use mouseover events + timer, to detect if the mouse "hovers" on the buttons (there are also several ocx to add mouseenter, mouseexit events on various controls), then i show the popupmenu, but the problem is that when you show the popupmenu, it acts like a modal form, meaning, the timer event is blocked to detect hovering on the buttons, plus you have to click on an item in the popup in order to hide the popup, is there codes to show the popupmenu that you can still hover on other buttons?
2. Is there code to hide a popupmenu?
I'm using vb6, my knowledge of vb is intermediate, I have research on the subject but still have not found a proper solution, maybe subclass the popupmenu?
-
Re: On Hover Popupmenu
is there no that could help?
okay, let me explain further, attached a sample image to show how i've implemented the toolbar previously...
http://img442.imageshack.us/img442/9565/15062682.jpg
okay, I did this project using a toolbar control with 7 toolbar buttons (tbrdropdown) added, subclassed the toolbar so that i can display the submenu with icons on it, the top level buttons have default actions when you click on them, while clicking on the dropdown, pulls down the submenu for each button (as you can see in the image), what i would like to do is that eliminate the tbrdropdown button and replace it with just a normal tbrdefault button, then when i "hover" on the button display a menu (just like in the image), without clicking a dropdown, it functions similar on some websites that have a toolbar of keywords, then if you "hover" on those words, a popupmenu would display...
can this be possible?
-
Re: On Hover Popupmenu
is there no one that could help?
the "effect" i would like to do is that just like on this website, just look at the top toolbar of keywords, the "internet.com", "it professionals", "developers", on top of this website, when you hover on "it professionals", a popupmenu shows, when you switch to "developers", the popupmenu on "it professionals" hides, and popupmenu for "developers" shows, can you do that in vb6 code?
-
Re: On Hover Popupmenu
you can't expect someone to give you the answer in only 1 day, be patient, people are here to help, but they also got problems of their own to deal with.