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 03-Jul-2008, 10:09
Alison Krueger Alison Krueger is offline
New Member
 
Join Date: Jul 2007
Posts: 2
Alison Krueger is on a distinguished road
Angry

FLTK 1.1.8 with Nano X: Focus problem for base window


I'm using FLTK 1.1.8 with nano X. I have mature code from a development platform that has been working fine for months with FLTK1.1.7 and X. Switched to FLTK 1.1.8 and nano X, and things aren't working.

Complicating matters is that the systems is mouseless (very sad). Once focus is lost, I'm dead.

Main problem is that I have a single base window that I want to catch function key inputs in order to allow the user to bring up different functions/displays.

When I close one of these function windows to leave just the base window, the base window doesn't get focus, so I'm dead.

There is new logic in Fl.cxx's focus method which will only set the window as X's focus window (fl_xfocus) if there is a parent to the widget getting focus. This is my base (last) window and there is no parent. Therefore it doesn't get focus, and I'm through.

Is this actually a coding error in Fl.cxx's focus method, or is there some reason why my base window can't have focus?!

Thanks!
 
 

Recent GIDBlogVista ?Widgets? on Windows XP by LocalTech

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
window focus konbs FLTK Forum 1 12-Jun-2007 00:40
need help with a console menu system BullBuchanan C++ Forum 6 20-Aug-2006 14:46
problem with system() and win32 shell lordfuoco C++ Forum 0 27-Jun-2006 03:09
[Tutorial] GUI programming with FLTK dsmith FLTK Forum 10 03-Oct-2005 15:41
fltk window under design disapear in FLUID.... realken FLTK Forum 2 15-Jan-2005 20:22

Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The

All times are GMT -6. The time now is 12:23.


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