Re: limiting size for a window
- Posted by dcole Jun 09, 2010
- 2390 views
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