disable window close button

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
AMAZINGAHMED
Posts: 8
Joined: Thu Apr 28, 2005 12:19 pm
Location: Egypt

disable window close button

Post by AMAZINGAHMED »

Hi there,
can anyone help me? i want to disable the close button of the gui window, and i also want the window to stay in a fixed position (disable moving)
thanks
THERE IS ALWAYS A FIRST TIME
jox
Bug Slayer
Posts: 726
Joined: Thu Apr 22, 2004 6:55 pm
Location: Germany

Post by jox »

It is like it is. And because it is like it is, things are like they are.
AMAZINGAHMED
Posts: 8
Joined: Thu Apr 28, 2005 12:19 pm
Location: Egypt

Post by AMAZINGAHMED »

thnx very much :wink:
and about disabling dragging i think i should check for the position of the window inside the game loop and if it is changed i should set its position back to the first position. :?:
THERE IS ALWAYS A FIRST TIME
jox
Bug Slayer
Posts: 726
Joined: Thu Apr 22, 2004 6:55 pm
Location: Germany

Post by jox »

It's a hack but it might work. Make sure it happens between device->run and guienv->drawAll.
It is like it is. And because it is like it is, things are like they are.
Post Reply