• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Resize corner on NSPanel
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • RE: Resize corner on NSPanel
      • From: "Phil Barrett" <email@hidden>
  • Prev by Date: Re: A bit stumped....
  • Next by Date: RE: Resize corner on NSPanel
  • Previous by thread: Resize corner on NSPanel
  • Next by thread: RE: Resize corner on NSPanel
  • Index(es):
    • Date
    • Thread