• 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: Utility/Floating window with titlebar on left side
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Utility/Floating window with titlebar on left side


  • Subject: Re: Utility/Floating window with titlebar on left side
  • From: Dan Ribe <email@hidden>
  • Date: Mon, 10 May 2010 13:29:55 +0530

Thanks Paul, that was helpful.

I am able to add the close button to my window using standardWindowButton,
but facing some refreshing problems.

First time when I load the window and add button to it, close button is able
to draw itself properly. But if i close this window and reopen it again,
then close button is not refreshing itself. When i move mouse on this button
and click it, redraw happens and it draws fine after that.

Any pointers on how this refreshing issue can be fixed?

Thanks for help.
Cheers!


On Thu, May 6, 2010 at 8:11 PM, Paul Sanders <email@hidden>wrote:

>  > Already tried NSBorderlessWindowMask, but that doesn't supports the
> close
> > button functionality, which is required in my case.
>
> You can create a close button via +[NSWindow
> standardWindowButton:forStyleMask:]
>
> I think NSBorderlessWindowMask is the only game in town here.
>
> Paul Sanders.
>
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Re: Utility/Floating window with titlebar on left side (From: Dan Ribe <email@hidden>)
 >Re: Utility/Floating window with titlebar on left side (From: "Paul Sanders" <email@hidden>)

  • Prev by Date: Re: extent of the "scratch pad" nature of a Core Data managed object context
  • Next by Date: Re: simple CATextLayer scaling problem
  • Previous by thread: Re: Utility/Floating window with titlebar on left side
  • Next by thread: NSBox sizeToFit problem
  • Index(es):
    • Date
    • Thread