Re: borderless & resizable window: how?
Re: borderless & resizable window: how?
- Subject: Re: borderless & resizable window: how?
- From: Daryn <email@hidden>
- Date: Fri, 11 Jul 2003 18:05:39 -0500
Ok, I can draw my own NSGrayResizeCorner.tiff in the window corner and
manually implement the resize. My final question would be how to get
scrollers to adjust their height when there is overlap with my resize
corner like they normally do?
Any suggestions?
On Friday, July 11, 2003, at 07:52 AM, Eyal Redler wrote:
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.
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.