• 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
Custom Title Bar Drawing
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Custom Title Bar Drawing


  • Subject: Custom Title Bar Drawing
  • From: Eric Gorr <email@hidden>
  • Date: Wed, 2 Dec 2009 13:24:21 -0500

I found this old message:

http://lists.apple.com/archives/cocoa-dev/2005/Aug/msg01688.html

describing a technique on how to do custom title bars, but since it is rather old, I was wondering if there are better methods now or if this message is still describes the best techniques to use.

Basically, what I am looking to do is rather simple. I just need to draw a torn-off look (a wiggly line) on the top edge of a titlebar of a NSPanel.

Also, is there any documentation on doing custom drawing of Windows? The Window Programming Guide does not appear to discuss this topic. I am familiar with RoundTransparentWindow (http://bit.ly/6FFJHO) sample application, but that is the closest I've come to documentation.

Thank you.


_______________________________________________

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

  • Follow-Ups:
    • Re: Custom Title Bar Drawing
      • From: Eimantas Vaičiūnas <email@hidden>
  • Prev by Date: Contain touches within UIImageView only
  • Next by Date: Re: Custom Title Bar Drawing
  • Previous by thread: Re: Contain touches within UIImageView only
  • Next by thread: Re: Custom Title Bar Drawing
  • Index(es):
    • Date
    • Thread