Re: Drag the whole window just by dragging the Image placed on it?
Re: Drag the whole window just by dragging the Image placed on it?
- Subject: Re: Drag the whole window just by dragging the Image placed on it?
- From: Luca <email@hidden>
- Date: Fri, 23 Jan 2009 23:18:03 +0100
Hmm, i would subclass NSImage making it sending data to its window.
But...I'm curious to see how others would do this.
Luca C.
Il giorno 23/gen/09, alle ore 10:54, "Rahulkumar" <email@hidden
> ha scritto:
Hi All,
I can move a Window i.e. a NSWindow object with the just a simple call
[myWindow setMovableByWindowBackground:TRUE]. This makes window
movable from
every point I drag my mouse pointer. Now if I place an NSImage
Object over
the window and try to drag the whole window there by only dragging
the Image
, it does not works.
Is there is any way to drag the whole window just by dragging the
Image
placed on it?
Thanks in advance!
Regards,
Rahul
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden