Page 1 of 1

disable window close button

Posted: Mon May 09, 2005 2:40 pm
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

Posted: Mon May 09, 2005 2:49 pm
by jox

Posted: Mon May 09, 2005 4:13 pm
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. :?:

Posted: Mon May 09, 2005 4:26 pm
by jox
It's a hack but it might work. Make sure it happens between device->run and guienv->drawAll.