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

Author Topic: create a window hidden  (Read 2622 times)

0 Members and 1 Guest are viewing this topic.

am!go

  • Newbie
  • *
  • Posts: 2
    • ICQ Messenger - 284748994
    • View Profile
    • Email
create a window hidden
« 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.

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
create a window hidden
« Reply #1 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? ;)
Laurent Gomila - SFML developer

gsaurus

  • Sr. Member
  • ****
  • Posts: 262
    • View Profile
    • Evolution Engine
create a window hidden
« Reply #2 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:
Pluma - Plug-in Management Framework

am!go

  • Newbie
  • *
  • Posts: 2
    • ICQ Messenger - 284748994
    • View Profile
    • Email
create a window hidden
« Reply #3 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.