Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Resize corner on NSPanel



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




Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.