Basically you need to draw new window with custom titlebar. When
drawing window i use code/tutorial from here:
http://cocoawithlove.com/2008/12/drawing-custom-window-on-mac-os-x.html
it's quite fresh compared to 2005 ,)

Also it should be very useful to create such file template for yourself.

On Wed, Dec 2, 2009 at 8:24 PM, Eric Gorr <mail...@ericgorr.net> wrote:
> 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 (Cocoa-dev@lists.apple.com)
>
> 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:
> http://lists.apple.com/mailman/options/cocoa-dev/eimantas%40cocoakids.net
>
> This email sent to eiman...@cocoakids.net
>
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to