Getting window from custom view in drawer
Getting window from custom view in drawer
- Subject: Getting window from custom view in drawer
- From: Demitri Muna <email@hidden>
- Date: Mon, 8 Jul 2002 12:18:40 -0700
Hello,
This is probably a single line of code question...
I have a custom view in a drawer. The view has no controls, it's simply
a subclass of NSView that handles items dropped on it. How can I get a
pointer to the parent window from within my view class? Normally, I
would expect to call [myView window], but since it's in a drawer, I
don't get what I'm expecting. Even getting a pointer to the NSDrawer
would be fine, since I can get to the window from there.
Thanks!
Demitri
_______________________________________________
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.