• 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: Christian Schneider <email@hidden>
  • Date: Fri, 11 Mar 2005 16:16:22 +0100

Scott,

thanks.

On Fri, 11 Mar 2005 08:38:00 -0600, Scott Thompson <email@hidden> wrote:
>
> On Mar 11, 2005, at 8:25 AM, Scott Thompson wrote:
>
>
> I apologize for coming to this thread late.  I'm not sure what you are
> trying to accomplish, but I can tell you that you should not use a WDEF to
> do it.  WDEF's are definately old school.  These days you should use a
> custom window based on an HIView.
>
> Please feel free to join carbon-dev and ask your question again and we can
> help you over there.
>

I'll do that but I'll have to do some introductory reading to Carbon first.

>
> OK... scratch that.  I found your original question in the archives.
>
> It's pretty easy to create a totally custom window in Cocoa.  There is a
> sample on Apple's web site:
>
> <http://developer.apple.com/samplecode/RoundTransparentWindow/RoundTransparentWindow.html>
>
> Which creates a window that is oddly shaped and can actually change shape as
> you move a slider it contains.
>
> 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.

> Final Cut Pro and the other professional applications have very specifically
> non-Mac-like User Interfaces for good reason.  For one, the Mac UI tends to
> have quite a bit of color in it and that color can affect the color
> perception of the content being edited.  To work around that issue the UI
> for the pro products uses a matte, neutral gray interface.  Unless you have
> similar needs, I would recommend against creating wild and crazy window
> styles.
>

well programming an application for use in TV productions we do have
similar needs if only to give users what they are accustomed to from
using FCP or Avid.

chris
 _______________________________________________
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: Scott Thompson <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>)

  • Prev by Date: Re: Cocoa from C++ (dont want to mix it)
  • 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