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

Author Topic: hold window in the foreground  (Read 1855 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: 11030
    • 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
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

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!