Re: limiting size for a window

new topic     » goto parent     » topic index » view thread      » older message » newer message
procedure Window1_onResize (integer self, integer event, sequence params)--params is ( int style, int cx, int cy ) 
  sequence s 
  s=getCtlSize(Window1)   
   if s[1]<xx or s[2]<xy then  
       setCtrSize(Window1,xx,xy) 
   end if 
end procedure 
setHandler( Window1, w32HResize, routine_id("Window1_onResize")) 

Don Cole

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu