Re: Utility/Floating window with titlebar on left side
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