Thnx kyle for ur response.But I found other way to do this. Here is how I am
achieving the task -

1>. Create a new NSRect with desired origin and size.
2>. Call setFrame:display:anumate of window member function.

And I am done.

Regards
Cocoa.learner.

On Fri, Jun 12, 2009 at 10:41 PM, Kyle Sluder <kyle.slu...@gmail.com> wrote:

> On Fri, Jun 12, 2009 at 2:16 AM, cocoa learner<cocoa.lear...@gmail.com>
> wrote:
> > I do not understand how to achieve this effect.
>
> I'd wire up the disclosure triangle's target/action to a method on my
> window controller.  Something like -[MyWindowController
> showAdvancedOptions:].  This method would in turn add the advanced
> options to the window (perhaps loading them from another nib) and
> would resize the window to give them room.
>
> --Kyle Sluder
>
_______________________________________________

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

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

Reply via email to