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 19-Sep-2008, 04:50
Manohar Manohar is offline
New Member
 
Join Date: Sep 2008
Posts: 1
Manohar is on a distinguished road

How to make FLTK window always on top of other application window


Actually I have created fltk window with widgets, and it must remain always on the top even the other application window is active. I don't know how to make it always on top. If this is possible in fltk or we have to go for xlib , in both case i need the step by step procedure to achieve this.
  #2  
Old 21-Apr-2009, 17:13
colagor colagor is offline
New Member
 
Join Date: Jan 2009
Posts: 5
colagor is on a distinguished road

Re: How to make FLTK window always on top of other application window


Hey, im pretty sure the answer to this is to use http://www.fltk.org/doc-1.3/classFl__Window.html#dbcee49a29aaeaef961b235035a127a5 or http://www.fltk.org/doc-1.3/classFl__Window.html#a95384f21fd3d1b559e116f9298e97c2
non_modal sounds like the kind of thing you want, modal wont allow you to access your other app window at all.
one caveat though is that it doesnt work with certain x window managers.
i have tried this with RHEL 5 XFCE and the NVIDIA X-Server and can confirm it doesn't work for me. I'm fairly sure there's actually no way to do this for my x-server or window manager, it's a kind of user decides situation.
i know from certain other multi-platform (Firefox, Maya) apps i have tried that have children windows, under linux (KDE, Gnome, XFCE all do it) they always disappear behind the main window when you click on it, whereas on Windows and OSX they work fine.
the only app that seems to manage this is wine, for instance in Photoshop the pallets, toolbox etc all stay on top, but i don't think the window manager even knows about them...
 
 

Recent GIDBlogToyota - 2009 May 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
need help with a console menu system BullBuchanan C++ Forum 6 20-Aug-2006 15:46
[Tutorial] GUI programming with FLTK dsmith FLTK Forum 10 03-Oct-2005 16:41
GIMcontacts - a gim fltk fluid venture cable_guy_67 FLTK Forum 0 14-Feb-2005 15:18
Help! Some basal questions about MFC xutingnjupt MS Visual C++ / MFC Forum 1 05-Dec-2004 04:38

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

All times are GMT -6. The time now is 01:19.


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