Re: windows title bar at left
Re: windows title bar at left
- Subject: Re: windows title bar at left
- From: "M. Uli Kusterer" <email@hidden>
- Date: Sat, 6 Dec 2003 02:47:48 +0100
At 12:40 Uhr -0600 05.12.2003, Darrin Cardani wrote:
At 10:08 AM -0800 12/5/03, Godefroy de La Bourdonnaye <email@hidden> wrote:
is it possible to place the title bar of the window at the left oft it ?
Yes, you can make custom windows of any type you like. I don't know
the Cocoa way of doing so, but I'm sure someone else here can point
you in the right direction. I've done it in Carbon by writing a
custom window definition function, and I believe it's also possible
(and possibly easier) to do it using Carbon Events.
Actually, Carbon has a window style (window class?) that has a title
bar down the left, at least for floating palette windows. I'm not
sure how feasible that really is, but since you can supposedly
mix-and-match Cocoa and Carbon since 10.2 (in a limited way even
earlier), you may be able to create the window itself using Carbon
API calls and then hook it up to an NSWindow after that.
But I have no idea how to tell an NSWindow to use an existing
WindowRef, so far I've only seen a method in NSWindow that returns
its WindowRef.
--
Cheers,
M. Uli Kusterer
------------------------------------------------------------
"The Witnesses of TeachText are everywhere..."
http://www.zathras.de
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.