|
-
Oct 15th, 2011, 06:39 AM
#1
Thread Starter
New Member
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?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|