• 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: NSSpliteView in Xcode Help UI
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSSpliteView in Xcode Help UI


  • Subject: Re: NSSpliteView in Xcode Help UI
  • From: John Randolph <email@hidden>
  • Date: Mon, 1 Mar 2004 17:44:39 -0800

On Feb 28, 2004, at 9:15 AM, So Hok Chun, Bill wrote:

Dear All,

Do you know how to create to the vertical and horizontal split bar in Xcode Documentation window?

The splitter in the documentation window contains other GUI widget such as scroll bar and popup button in addition to a button with 2 strips for adjusting width or height. This is very different from the one we create in IB which has a little dot between 2 subviews.

Thank you very much for your help.

Bill,

I haven't checked, but I don't think that view in XCode is actually an NSSplitView subclass. If you want to put some controls on the bar of an NSSplitView, you could subclass it and override -adjustSubviews, -dividerThickness, -drawDividerInRect: and the -mouseDown:/-mouseDragged: methods.


-jcr
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.


  • Prev by Date: Re: drawing an image in an NSRect?
  • Next by Date: Re: Databasing and Cocoa
  • Previous by thread: Re: How to obtain the processor temperature?
  • Next by thread: auto scrolling my text view
  • Index(es):
    • Date
    • Thread