• 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
Expanding a window and adding controlls dynammicaly.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Expanding a window and adding controlls dynammicaly.


  • Subject: Expanding a window and adding controlls dynammicaly.
  • From: Anoop <email@hidden>
  • Date: Thu, 04 May 2006 21:47:09 +0530

Hai all,

My window controller contains  Arrow type NSButton "|>" I Need to expand the
Window region just bellow the button ,while clicking it should  show  the
Labels bellow it and hide those labels in the second click.


I could expand the window region just above the Button how is it possible
for me to Expand and hide a window region.
I tried set Frame method but its resizing is not performed as I desired.

I used these codes to resize the window

   frame.size.height -=200;
    frame.origin.y =200;
    [objPanel setFrame:frame display:YES animate:YES];

I Need to add some controls dynamically at a specified location of my window
controller. How is it possible for me to add my button to a location without
using interface builder.

--
With Regards,
             Anoop


 _______________________________________________
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

  • Follow-Ups:
    • Re: Expanding a window and adding controlls dynammicaly.
      • From: Uli Kusterer <email@hidden>
    • Re: Expanding a window and adding controlls dynammicaly.
      • From: Mike Abdullah <email@hidden>
  • Prev by Date: Re: Font Size Problem in NSTableView
  • Next by Date: Re: Equivalent of isKindOfClass for Foundation Types?
  • Previous by thread: Re: Hiding find panel in NSTextView
  • Next by thread: Re: Expanding a window and adding controlls dynammicaly.
  • Index(es):
    • Date
    • Thread