NSView in textured window
NSView in textured window
- Subject: NSView in textured window
- From: Todd Heberlein <email@hidden>
- Date: Mon, 7 Oct 2002 19:11:58 -0700
One of the textured windows' features I really like is being able to
move the window by grabbing on any textured surface and not just the
title bar, but I have found this behavior also flows through a custom
NSView drawn on the window.
I have an NSView subclass in which the user clicks in the view and a
small circle or square is drawn at that spot. I use it to generate
data sets for testing machine leaning algorithms.
I have only overridden the mouseDown: method for input. But if you
click, hold down the mouse, and then drag in the view, the whole window
moves. This happens a lot accidentally when I am trying to enter a lot
of sample points quickly. I do not get the same behavior for normal
(un-textured) windows.
Any idea why clicking and dragging on my view moves the window? Have I
done something wrong?
Just curious,
Todd
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.