• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: How do I make a panel come out of the title bar
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: Re: NSBrowser Help
  • Next by Date: Re: Cocoa autoscroll question
  • Previous by thread: Re: How do I make a panel come out of the title bar
  • Next by thread: FileVault detection
  • Index(es):
    • Date
    • Thread