Hi, Jens

>-mouseDragged: is called after the mouse button is pressed *within your view* 
>and the cursor moves. It has nothing to do with the window being dragged, 
>since after all thatís a mouse-down in the title bar, not your view.
>
>In general views donít care about and donít get notified about window 
>movement. You can listen to the NSWindowDidMoveNotification posted by the 
>window, if you want to know about it.
>
> Jens

 Thanks Jens, but the panel is defined as HUD panel, and to drag it, user 
should press mouse button on my custom view as it has no title bar. I examined 
that mouseDragged: and drawRect are called actually.

Yoshiaki Katayanagi
http://www.jizoh.jp/english.html

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to