Kazuki, Thanks for the patches. Our border implementation is still pending changes in the drivers. ClientRectangle *always* has x and y as 0, 0. From the quick tests I just did our ClientRectangle size matches what MS returns on the apps I tested.
Why do you think we're counting borders? There may be some old leftover code that draws borders inside the client rectangle, but that's obsolete and will get fixed when we fix the drivers to handle border drawing. Jackson needs to check the AsyncMethodResult patch, Jordi the ListBox patches, it's their code respectively. Cheers, Peter -----Original Message----- From: "Kazuki Oikawa" <[EMAIL PROTECTED]> To: <[email protected]> Date: 21 September, 2005 18:07 Subject: [Mono-winforms-list] [PATCH] AsyncMethodResult patch and Question >Hi, > >I made small patches. >please review it. > >AsyncMethodResult.patch >- Fixes Control.Invoke is blocked infinitely. > >ListBox1.patch >- Cannot get last index using IndexFromPoint. > >ListBox2.patch (not good patch...) >- Improve action when MultiColumn is true. > > >I have a question. >I think Control.ClientRectangle is without Border width, >but current implement is not. >If improve the current implement to return the correct ClientRectangle, >X and Y of ClientRectangle is not zero. >This result is not equal with MSFT but I think this is good. >What do you think ? > >-- >Kazuki Oikawa > > > _______________________________________________ Mono-winforms-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-winforms-list
