Re: borderless & resizable window: how?
Re: borderless & resizable window: how?
- Subject: Re: borderless & resizable window: how?
- From: Eyal Redler <email@hidden>
- Date: Fri, 11 Jul 2003 15:52:35 +0300
I'm afraid this is an "all or nothing" thing. You can either use one of
the standard windows and get all the features (including a title bar)
or use NSBorderlessWindowMask and do it all yourself (including
dragging and resizing).
A good starting point is Apple's "round transparent window" example
which shows you how to implement dragging in such a window.
Implementing resizing shouldn't be too hard to add to that...
HTH
On Friday, July 11, 2003, at 09:37 AM, Daryn wrote:
I need help creating a window that has no title bar, yet is resizable.
I can achieve the "no title bar" part by creating a window with
styleMask:NSBorderlessWindowMask. I can find no other way to make the
window resizable other than adding NSResizableWindowMask which
unfortunately forces a title bar. The documentation would lead one to
believe that this should only happen in conjunction with
NSTitledWindowMask.
Implementing NSWindowScripting's isResizable doesn't make the window
resizable either. What am I doing wrong, or does anyone know a
workaround?
Daryn
_______________________________________________
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.
Eyal Redler
------------------------------------------------------------------------
------------------------
"If Uri Geller bends spoons with divine powers, then he's doing it the
hard way."
--James Randi
_______________________________________________
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.