Re: Resize corner on NSPanel
Re: Resize corner on NSPanel
- Subject: Re: Resize corner on NSPanel
- From: Kristin Webster <email@hidden>
- Date: Fri, 20 Jul 2001 09:38:16 -0700
Phil,
You probably want to make your panel non-resizable (if the window comes
from a nib, you can do it in IB. Otherwise, make sure you are not
passing NSResizableWindowMask to
-[initWithContentRect:styleMask:backing:defer:]).
The setShowsResizeIndicator: method just controls whether or not the
resize corner is shown for a resizable window. If a window is
resizable, you can resize from this corner whether or not the indicator
is visible.
Kristin
On Friday, July 20, 2001, at 01:35 AM, Aki Inoue wrote:
On 2001.07.20, at 01:20, Phil Barrett wrote:
I have an window (actually an NSPanel with NSUtilityWindowMask)
containing
an NSMatrix of NSButtonCells.
All mouse clicks in an approx 8x8 pixel rectangle in the lower-right
corner
of the window are ignored and do not reach the button that's visible
there.
I assume it's the window resize area, but since it does not have
NSResizableWindowMask set, and I've called setShowsResizeIndicator:NO,
why
are they getting trapped?
All ideas welcome
Phil
_______________________________________________
cocoa-dev mailing list
email@hidden
http://www.lists.apple.com/mailman/listinfo/cocoa-dev