• 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: Create a window with status bar at its bottom, how to do?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Create a window with status bar at its bottom, how to do?


  • Subject: Re: Create a window with status bar at its bottom, how to do?
  • From: Jens Alfke <email@hidden>
  • Date: Sun, 20 Jul 2008 15:51:34 -0700


On 19 Jul '08, at 8:10 PM, Cloud Strife wrote:

Hi everyone. I am interested to create a window with status bar at its
bottom. Hmm, you can see Xcode editor window as an example, once we open a
.m source file, the editor window has a status bar at its bottom.

In Interface Builder, just move the bottom of the main scrollview up about 16 pixels from the bottom of the window, and put a wide skinny NSTextView along the bottom. Set the resizing behavior so it's attached to the left, bottom and right edges but stretches horizontally. You'll want to make the text non-editable and non- selectable.


Then just declare an NSTextView* as an IBOutlet in your window controller class, and wire a connection from that outlet to the text field. At runtime you can call -setStringValue: on that instance variable to change the status message.

—Jens

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________

Cocoa-dev mailing list (email@hidden)

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:

This email sent to email@hidden

References: 
 >Create a window with status bar at its bottom, how to do? (From: "Cloud Strife" <email@hidden>)

  • Prev by Date: Re: looking for help with http post example
  • Next by Date: Re: WebKit, programmatic form input, form submits
  • Previous by thread: Create a window with status bar at its bottom, how to do?
  • Next by thread: WebKit, programmatic form input, form submits
  • Index(es):
    • Date
    • Thread