[Mono-winforms-list] Managed window patch

Rolf Bjarne Kvinge rolflists at ya.com
Tue Jun 24 04:33:52 EDT 2008



> -----Original Message-----
> From: George Giolfan [mailto:georgegiolfan at yahoo.com]
> Sent: lunes, 23 de junio de 2008 14:58
> To: mono-winforms-list at lists.ximian.com; 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



More information about the Mono-winforms-list mailing list