> i need something that set my FLTK-application > in the foreground of the desktop-screen. > No other Window should be able to conceal my application. > > Is there corresponding function?
There is no specific fltk function to do this, but (depending on your platform) there may be platform-specific ways to achieve that effect. That means writing your fltk code then using platform-specific code to modify the window attributes to make it stay topmost. Note that not all platforms and window-managers even support that ability, so depending on what host combination you are running on, it might not be possible at all. I'm going to take a wild guess that you are on some Windows platform (since this sort of window behaviour is common in win32 land) in which case you will be needing to set the HWND_TOPMOST (or maybe WS_EX_TOPMOST) attribute on your window, which is probably done most easily by modifying the attributes of the window using the win32 function SetWindowPos(...) Note that, like most win32 API calls, the parameter list for, and the use of, SetWindowPos(...) is pretty opaque to understand... http://msdn.microsoft.com/en-us/library/ms633545(VS.85).aspx Note that to get the underlying handle to a fltk window, you can use the fltk function fl_xid() like this: HWND hw = fl_xid(my_window); SELEX Sensors and Airborne Systems Limited Registered Office: Sigma House, Christopher Martin Road, Basildon, Essex SS14 3EL A company registered in England & Wales. Company no. 02426132 ******************************************************************** This email and any attachments are confidential to the intended recipient and may also be privileged. If you are not the intended recipient please delete it from your system and notify the sender. You should not copy it or use it for any purpose nor disclose or distribute its contents to any other person. ******************************************************************** _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

