GIDForums  

Go Back   GIDForums > Computer Programming Forums > FLTK Forum
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Rate Thread
  #1  
Old 18-Feb-2006, 06:59
cup cup is offline
New Member
 
Join Date: Feb 2006
Posts: 13
cup is on a distinguished road

Status bar help


I'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  
Old 19-Feb-2006, 22:47
rbp rbp is offline
Junior Member
 
Join Date: Nov 2005
Location: Melbourne, Australia
Posts: 60
rbp will become famous soon enough

Re: Status bar help


the 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  
Old 25-Feb-2006, 02:40
cup cup is offline
New Member
 
Join Date: Feb 2006
Posts: 13
cup is on a distinguished road

Re: Status bar help


I 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 GIDBlogToyota - 2008 November Promotion by Nihal

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

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

All times are GMT -6. The time now is 10:57.


vBulletin, Copyright © 2000 - 2008, Jelsoft Enterprises Ltd.