Re: How to create a window with a border
Re: How to create a window with a border
- Subject: Re: How to create a window with a border
- From: Scott Thompson <email@hidden>
- Date: Fri, 11 Mar 2005 08:38:00 -0600
On Mar 11, 2005, at 8:25 AM, Scott Thompson wrote: I apologize for coming to this thread late. I'm not sure what you are trying to accomplish, but I can tell you that you should not use a WDEF to do it. WDEF's are definately old school. These days you should use a custom window based on an HIView.
Please feel free to join carbon-dev and ask your question again and we can help you over there.
OK... scratch that. I found your original question in the archives.
It's pretty easy to create a totally custom window in Cocoa. There is a sample on Apple's web site:
Which creates a window that is oddly shaped and can actually change shape as you move a slider it contains.
Basically, what you do is create a borderless, transparent window. From there you can create the view of your choice as the background for your window and draw it any way you like.
Final Cut Pro and the other professional applications have very specifically non-Mac-like User Interfaces for good reason. For one, the Mac UI tends to have quite a bit of color in it and that color can affect the color perception of the content being edited. To work around that issue the UI for the pro products uses a matte, neutral gray interface. Unless you have similar needs, I would recommend against creating wild and crazy window styles.
Scott
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden