Re: Win32lib System Metrics

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

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

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

Search



Quick Links

User menu

Not signed in.

Misc Menu