Re: Utility/Floating window with titlebar on left side
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