April 9th, 1999, 09:25 PM
Have any of you seen Netobjects fusion or corel Draw, they have funny toolbar buttons, where if you hold the mouse down on the button a caption less floating
toolbar appears beneath it, allowing you to move the mouse over a particular button to select it. As soon as the mouse button is let up if it is over a button inthe floating toolbar it selects it inplace of the old one.
I am trying to recreate this code for all to use.
the problem I have is that tool bar buttons only have a command handler,
I need a command and a leftbutton down handler. I have tried using a timer to some success, the main problem is setting the mouse capture, as soon as the left button is let up anywhere on the screen the floating toolbar should hide.
also capture problems stop the original button from checking after it is clicked.
can anyone help
toolbar appears beneath it, allowing you to move the mouse over a particular button to select it. As soon as the mouse button is let up if it is over a button inthe floating toolbar it selects it inplace of the old one.
I am trying to recreate this code for all to use.
the problem I have is that tool bar buttons only have a command handler,
I need a command and a leftbutton down handler. I have tried using a timer to some success, the main problem is setting the mouse capture, as soon as the left button is let up anywhere on the screen the floating toolbar should hide.
also capture problems stop the original button from checking after it is clicked.
can anyone help