SFML community forums

Help => Window => Topic started by: am!go on April 12, 2010, 04:11:55 pm

Title: create a window hidden
Post by: am!go on April 12, 2010, 04:11:55 pm
Hi,
Is there a way how to create a window hidden by default? The usual way is to create a window, set up it's position and other stuff and than make it visible to avoid the window to blink before you change it's position, which looks really lame.

Thank you.
Title: create a window hidden
Post by: Laurent on April 12, 2010, 04:30:55 pm
Hi

There is no way to create the window hidden. But have you tried first? Does it look really lame? ;)
Title: create a window hidden
Post by: gsaurus on April 12, 2010, 04:33:42 pm
Quote from: "Laurent"
But have you tried first? Does it look really lame? ;)

I tried it right now and the flick is truly visible and looks bad :wink:
Title: create a window hidden
Post by: am!go on April 12, 2010, 04:55:40 pm
That's right, but it shouldn't be difficult to implement this feature since both XLib and Winapi can do this, it's actually theirs default behavior as far as I remember.