Re: Win32lib System Metrics
- Posted by Derek Parnell <derekp at solace.com.au> Aug 18, 2000
- 438 views
Hi Brian (Broker) can I add your setClientRect to the standard win32lib? I've also reduced it by another line. >------------------------------ >procedure setClientRect( integer id, integer width, integer height ) > sequence diff > > -- get current window size and subtract client size > diff = getSize( id ) - getClientRect( id ) > -- add difference to specified window size > setSize( id, width+diff[3], height+diff[4] ) >end procedure ----- cheers, Derek Parnell derekp at solace.com.au Solace Limited ( http://www.solace.com.au ) Melbourne, Australia +61 3 9291 7557