Re: [Plib-devel] [PATCH] PW window size on Win32
Brought to you by:
sjbaker
From: Steve B. <sjb...@ai...> - 2005-09-02 23:12:39
|
Jan Reucker wrote: > Hello! > > The current PLIB CVS version has a bug regarding window sizes on > Win32: When resizing a window, the new size will be the size of > the window including the borders. This is wrong, the size parameters > should describe the size of the window's client area. The attached > patch fixes this by recalculating the window size from the client > area size and the window style each time the window is resized. We've been through this problem at least a couple times before. How can it not be fixed by now? Are we sure this isn't the way it is for some very good reason? ---------------------------- Steve Baker ------------------------- HomeEmail: <sjb...@ai...> WorkEmail: <sj...@li...> HomePage : http://www.sjbaker.org Projects : http://plib.sf.net http://tuxaqfh.sf.net http://tuxkart.sf.net http://prettypoly.sf.net -----BEGIN GEEK CODE BLOCK----- GCS d-- s:+ a+ C++++$ UL+++$ P--- L++++$ E--- W+++ N o+ K? w--- !O M- V-- PS++ PE- Y-- PGP-- t+ 5 X R+++ tv b++ DI++ D G+ e++ h--(-) r+++ y++++ -----END GEEK CODE BLOCK----- |