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

Author Topic: hiding minimize and maximize button  (Read 4465 times)

0 Members and 2 Guests are viewing this topic.

amin.v

  • Newbie
  • *
  • Posts: 4
    • View Profile
hiding minimize and maximize button
« on: December 22, 2010, 01:01:55 pm »
hi

how to hide minimize and maximize button and how to prevent user from resizing the window ... in windows.forms i simply set FormBorderStyle To FixedSingle ...

thanks

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
hiding minimize and maximize button
« Reply #1 on: December 22, 2010, 01:21:27 pm »
Look at the 3rd argument of Window's constructor, you can set the style to None or Titlebar.
Laurent Gomila - SFML developer

amin.v

  • Newbie
  • *
  • Posts: 4
    • View Profile
hiding minimize and maximize button
« Reply #2 on: December 22, 2010, 02:32:22 pm »
thanks a lot :D

 

anything