SFML community forums

Help => Window => Topic started by: GabrielS on June 12, 2013, 05:19:29 pm

Title: [SOLVED] Put Window in foreground
Post by: GabrielS on June 12, 2013, 05:19:29 pm
Hello,

I was wondering if there was a way to put a window on the foreground.
To be precise, let's imagine you have 2 different windows, window1 and window2. Both are visible and displayed. When you are on window1, I would like to set window2 on the foreground when i click on a button from window1 without having to re-create window2 (it works to recreate window2, but I don't want to have to re-load all elements from window2 which are already displayed), I just want to make window2 go on foreground.

If this is possible, please tell me how.

Thanks in advance,

Gabriel
Title: Re: Put Window in foreground
Post by: Nexus on June 12, 2013, 05:41:27 pm
Not with SFML. You have to use OS-specific functions.
Title: Re: Put Window in foreground
Post by: GabrielS on June 12, 2013, 06:01:33 pm
Ok, that's a shame =p.

Thanks for the fast answer!