![]() |
|
#1
|
|||
|
|||
Status bar helpI've created a status bar using a window and an outbox. What I'd like to do is to have some help information appearing in the status bar when I hover over menu items. In the past, I have achieved this by messing with the FLTK menu code but I'd prefer not to as I have to apply the same fix to every upgrade of FLTK.
Does anyone have any idea how I can monitor which menu item the user is hovering over so I can display help text? |
|
#2
|
|||
|
|||
Re: Status bar helpthe function belowmouse() returns the widget the mouse is pointing to (and not clicking): http://www.fltk.org/doc-1.1/Fl.html#Fl.belowmouse. Or instead of a seperate status bar could you use tooltips?
|
|
#3
|
|||
|
|||
Re: Status bar helpI tried tooltips but I could only get the tooltip for the menubar. I'll try the combination of belowmouse and tooltips. The Menu Options are actually tooltips so if you set a tooltip on a menu option, the menu option changes but menubars may work.
The problem is getting the event. Once a menu pops up, it goes into FLTK's menu handling routine and never comes out until something is clicked. In the past I've modified this code but I have to change it every time I get a new drop of FLTK. |
Recent GIDBlog
Toyota - 2008 November Promotion by Nihal
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Battery Status | jan8682 | C++ Forum | 0 | 30-Nov-2005 06:33 |
| HTTP status 500-while running jsp on apache web server | Yaseen | Apache Web Server Forum | 0 | 26-Sep-2005 05:59 |
| Difference in top and apache status data for CPU usage | mkbijoy | Apache Web Server Forum | 0 | 01-Nov-2004 03:08 |
| help me with this Maze game code | manu83 | C++ Forum | 2 | 14-Sep-2004 09:31 |
| link error? | pablowablo | C++ Forum | 14 | 19-Jun-2004 11:00 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The