The Daily Click ::. Forums ::. Klik Coding Help ::. Window locking
 

Post Reply  Post Oekaki 
 

Posted By Message

Jon Lambert

Administrator
Vaporware Master

Registered
  19/12/2004
Points
  8235

VIP MemberWii OwnerTDC Chat Super UserI am an April FoolSSBB 3265-4741-0937ACCF 3051-1173-8012360 Owner
29th April, 2009 at 21:53:51 -

So the general user has the ability to resize the application window by simply grabbing the edges and then dragging them to get a window of their preferable size. Is there a way to prevent them from doing this entirely? More importantly, is there a way to prevent them from changing the dimensions past a certain point? So that they can never make the window smaller than 640 x 480, for example.

 
Sandwich Time!Whoo!

JoyCheck & KeyCheck Widgets
For easy implementation of customizable joystick and keyboard controls.
http://www.create-games.com/download.asp?id=8364

Sketchy

Cornwall UK

Registered
  06/11/2004
Points
  1970

VIP MemberWeekly Picture Me This Round 43 Winner!Weekly Picture Me This Round 47 WinnerPicture Me This Round 49 Winner!
29th April, 2009 at 22:09:45 -

Ticking the "no thick frame" box in the properties window will stop the user being able to resize the window.
To limit the minimum window size, you should be able to use the window control object, and resize the window if it is too small.

 
n/a

Jon Lambert

Administrator
Vaporware Master

Registered
  19/12/2004
Points
  8235

VIP MemberWii OwnerTDC Chat Super UserI am an April FoolSSBB 3265-4741-0937ACCF 3051-1173-8012360 Owner
29th April, 2009 at 22:55:13 -

Thank you Sketchy. I'll just do the second one then.

 
Sandwich Time!Whoo!

JoyCheck & KeyCheck Widgets
For easy implementation of customizable joystick and keyboard controls.
http://www.create-games.com/download.asp?id=8364
   

Post Reply



 



Advertisement

Worth A Click