Re: how to make an NSWindow unmovable...
Re: how to make an NSWindow unmovable...
- Subject: Re: how to make an NSWindow unmovable...
- From: Philip George <email@hidden>
- Date: Sun, 12 Jun 2005 17:28:55 -0500
On Jun 12, 2005, at 5:04 PM, Jeff Ganyard wrote:
note that if i just use NSTexturedBackgroundWindowMask, and then call
[window setMovableByWindowBackground:NO], since there is no titlebar
it's 100% content area, and thus cannot be moved at all.... which is
great...
...but i need the rounded corners too. :(
Create a blank window the way you want (size, rounded corners, etc),
capture it and use that as an image in a clear window without a title
bar. Basically create your own window background. The round
transparent window sample should have everything you need.
i actually have code lying around to draw a custom window based on
provided corner/side/center pics, but i was trying to avoid using it.
if i can find no other solution, i'll fall back to that.
thanks.
- philip
_______________________________________________
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