Game Development Community

Refresh Canvas Problem

by Sean Pollock · in Torque Game Engine · 05/11/2006 (7:02 pm) · 2 replies

Hi,

I have a minor problem I hope some can help me with. I am making a non game using TGE so I need the torque window to act like a windows application. I have the torque window setup so you can drag the window to resize it and I also have the maximize and minimize buttons but my problem is when I resize the window either by dragging it or maximizing the window the canvas does not resize along with it.

I have looked all over the engine and can't find any clues to where I would start.

Basically I am looking for a similar affect as the Showtool Pro.

Any help would be much appreciated. Thank you.

Sean

#1
05/12/2006 (7:03 pm)
Still haven't figured how to force the canvas to resize\refresh when the main window is resized. If anyone know how to do this then please let me know. I have been searching the forums for two days with no success. Any help would be much appreciated. Thank you.

Sean
#2
05/12/2006 (11:05 pm)
Hey sean -
i'm also interested in getting this done but haven't really looked into it yet.
please post if you learn any clues,
and i'll vice-versa.

i'm a bit pessimistic about getting it done elegantly just becuase it seems like torque really wants to be the source of window-size changes, but possibly it could be convinced to listen to the window.. we'll see.

cheers,
orion.