I'm writing an OpenGL application. I need intercept the mouse events and I 
override these functions:


public override void MouseDown (NSEvent theEvent)
{
        Point pt= 
GlobalGraphic.Instance.FromMacScreenPoint(theEvent.LocationInWindow);
        this.TSTouch(pt);
}
                
public override void MouseUp (NSEvent theEvent)
{
        Point pt= 
GlobalGraphic.Instance.FromMacScreenPoint(theEvent.LocationInWindow);
        this.TSRealease(pt);
}
                
public override void MouseDragged (NSEvent theEvent)
{
        Point pt= 
GlobalGraphic.Instance.FromMacScreenPoint(theEvent.LocationInWindow);
        this.TSDrag (pt);
}


MouseUp and MouseDragged works well, but the function MouseDown is never called 
when I click with the mouse on the window.


I saw that this bug has been reported:


https://bugzilla.xamarin.com/show_bug.cgi?id=6067


Do you know if this problem is also extended to the windows as well as to 
NSOutlineView and NSTableView?
Regards
Luca                                      
_______________________________________________
Mono-osx mailing list
[email protected]
http://lists.ximian.com/mailman/listinfo/mono-osx

Reply via email to