> -----Original Message-----
> From: George Giolfan [mailto:[EMAIL PROTECTED]
> Sent: lunes, 23 de junio de 2008 14:58
> To: [email protected]; Rolf Bjarne Kvinge
> Subject: RE: [Mono-winforms-list] Managed window patch
> 
> At least on Windows, when you click on the left-most part of a title
> bar button it does not respond. The title buttons work as if the x
> coordinate of the mouse click is translated to the left by an ammount
> equal to the border width.
> I tried adding
>                       x += BorderWidth;
> to InternalWindowsManager.NCClientToNC and it seems to fix it, but I
> don't know how it affects other parts of the code.

You can put a cwl in (NC)MouseMove and then move the mouse over basically
everything to see if the calculations seem ok.

I pretty sure this worked, but my guess is that sizes might have been
hard-coded or not work correctly with other than the default border sizes we
had earlier.

Rolf

> 
> 
> 
> No virus found in this incoming message.
> Checked by AVG.
> Version: 8.0.100 / Virus Database: 270.4.1/1513 - Release Date:
> 22/06/2008 7:52

_______________________________________________
Mono-winforms-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-winforms-list

Reply via email to