• 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: Small resize control with textured (metal) window
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Small resize control with textured (metal) window


  • Subject: Re: Small resize control with textured (metal) window
  • From: Paul Collins <email@hidden>
  • Date: Fri, 18 Jun 2004 09:27:08 -0700

Thanks for the tip! I just noticed -setShowsResizeIndicator (a public method) which lets me draw my own (small) widget while keeping NSWindow's resize functionality. So that appears to do the trick.
--Paul

On Jun 18, 2004, at 2:24 AM, Jeremy Dronfield wrote:

To get the same size widget, you need to have the same shape window. There is a private method in NSWindow -setBottomCornerRounded:, which Safari uses to get square bottom corners in its metal windows. Since this method is private and undocumented, you'll want to cover your back:
_______________________________________________
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.


References: 
 >Small resize control with textured (metal) window (From: Paul Collins <email@hidden>)
 >Re: Small resize control with textured (metal) window (From: Jeremy Dronfield <email@hidden>)

  • Prev by Date: How to tell if on main thread
  • Next by Date: Re: How to tell if on main thread
  • Previous by thread: Re: Small resize control with textured (metal) window
  • Next by thread: Re: can't get NSZombie to work
  • Index(es):
    • Date
    • Thread