[Mono-winforms-list] [PATCH] AsyncMethodResult patch and Question

Peter Dennis Bartok peter at novonyx.com
Wed Sep 21 21:56:22 EDT 2005


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" <kazuki at panicode.com>
To: <mono-winforms-list at lists.ximian.com>
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
>
>
> 



More information about the Mono-winforms-list mailing list