Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: hold window in the foreground  (Read 1122 times)

0 Members and 1 Guest are viewing this topic.

Timmm

  • Newbie
  • *
  • Posts: 4
    • View Profile
    • Email
hold window in the foreground
« on: March 09, 2013, 09:56:54 am »
I have made a programm with 2 windows. One window will always stand in the foreground even if the other window is selected. How can i realize that?

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 10226
    • View Profile
    • development blog
    • Email
Re: hold window in the foreground
« Reply #1 on: March 09, 2013, 10:14:55 am »
SFML doesn't provide such functionality, so you'll have to use OS specific code.
Keep in mind that SFML isn't a GUI library and if you want dialog boxes and other stuff, you should look at Qt or similar libraries. With SFML I usually suggest to use an in-game GUI such as SFGUI.
Official FAQ: https://www.sfml-dev.org/faq.php
Nightly Builds: https://www.nightlybuilds.ch/
——————————————————————
Dev Blog: https://dev.my-gate.net/
Thor: http://www.bromeon.ch/libraries/thor/

Timmm

  • Newbie
  • *
  • Posts: 4
    • View Profile
    • Email
Re: hold window in the foreground
« Reply #2 on: March 09, 2013, 10:20:04 am »
Ok    thanks!

 

anything