• 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: Utility/Floating window with titlebar on left side
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Utility/Floating window with titlebar on left side


  • Subject: Re: Utility/Floating window with titlebar on left side
  • From: Eric Schlegel <email@hidden>
  • Date: Mon, 22 Sep 2008 14:08:26 -0700


On Sep 22, 2008, at 12:03 PM, Nick Beadman wrote:

At this point I think the only thing to do is to create a borderless window and create my own left side title bar (using +[NSWindow standardWindowButton:] to get small standard window buttons). If I manage to implement such a thing I will try to get permission to open source it.

You may also want to look into the HITheme API, part of the HIToolbox framework, which allows you to draw the window frame using the same code that Carbon and Cocoa use to draw their windows. You'd pass kThemeUtilitySideWindow as the window type in HIThemeWindowDrawInfo.windowType field to specify a left-side window frame. You would also need to draw the window widgets yourself using HIThemeDrawTitleBarWidget.


-eric

_______________________________________________

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: Utility/Floating window with titlebar on left side
      • From: Nick Beadman <email@hidden>
References: 
 >Re: Utility/Floating window with titlebar on left side (From: Dave Jewell <email@hidden>)
 >Re: Utility/Floating window with titlebar on left side (From: Nick Beadman <email@hidden>)

  • Prev by Date: Re: File I/O
  • Next by Date: NSImage with alpha
  • Previous by thread: Re: Utility/Floating window with titlebar on left side
  • Next by thread: Re: Utility/Floating window with titlebar on left side
  • Index(es):
    • Date
    • Thread