• 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 to create a window with a border
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to create a window with a border


  • Subject: Re: How to create a window with a border
  • From: Scott Thompson <email@hidden>
  • Date: Fri, 11 Mar 2005 09:24:42 -0600


On Mar 11, 2005, at 9:16 AM, Christian Schneider wrote:

Basically, what you do is create a borderless, transparent window. From
there you can create the view of your choice as the background for your
window and draw it any way you like.

yes, but then I won't have the standard titlebar, will I? I had hoped to not have to implement that myself.

So far as I know... Yes.

Of course, if the goal is to have the kind of matte gray windows of FinalCut or Motion or something... you're going to want a matte gray title bar as well.

The title bar is little more than a custom view that contains a few buttons that send messages to the window. As far as implementation goes, I would think the hardest part would be creating the visual look of the controls. Once you had that, wiring the controls to the window could be done in IB.

Scott

_______________________________________________
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: How to create a window with a border
      • From: Christian Schneider <email@hidden>
References: 
 >Re: How to create a window with a border (From: Christian Schneider <email@hidden>)
 >Re: How to create a window with a border (From: "Sean McBride" <email@hidden>)
 >Re: How to create a window with a border (From: Scott Thompson <email@hidden>)
 >Re: How to create a window with a border (From: Scott Thompson <email@hidden>)
 >Re: How to create a window with a border (From: Christian Schneider <email@hidden>)

  • Prev by Date: Re: NSPopUpButtonCell in custom NSTableColumn in NSTableView - not changing value
  • Next by Date: Re: Cocoa from C++ (dont want to mix it)
  • Previous by thread: Re: How to create a window with a border
  • Next by thread: Re: How to create a window with a border
  • Index(es):
    • Date
    • Thread