Re: How do I make a panel come out of the title bar
Re: How do I make a panel come out of the title bar
- Subject: Re: How do I make a panel come out of the title bar
- From: Anish Kumar <email@hidden>
- Date: Tue, 01 Mar 2005 10:54:52 +0530
James,
Here is a sample code that gets you an window (yourExpandingWindow) expanded out of the title bar of the parent window.
[NSApp beginSheet:yourExpandingWindow
modalForWindow:parentWindow
modalDelegate:self
didEndSelector:nil
contextInfo:nil];
And for windows that open to the left or right of the parent
window....use an instance of NSWindow and NSDrawer and when you want
open the side window call
[myDrawer open];
and to close the drawer call
[myDrawer close];
Refer the doc's of NSDrawer for more details...
Hope this helps...
regards,
-Anish
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden