Re: removing minimize and zoom widgets from tool palette title bar
Re: removing minimize and zoom widgets from tool palette title bar
- Subject: Re: removing minimize and zoom widgets from tool palette title bar
- From: Shaun Wexler <email@hidden>
- Date: Fri, 19 Oct 2007 19:15:52 -0700
On Oct 19, 2007, at 6:05 PM, Fritz Anderson wrote:
It's pretty simple. Once you have the window button in question,
you should be able to just send it a -removeFromSuperview:
message. You may also need to update the window's style mask for
the layout to be done correctly.
I haven't tested this, but the poster, John C. Randolph, is
extremely reliable.
However, upon removal, the title bar drag region is not properly
updated, so you are left with some "dead spots".
--
Shaun Wexler
MacFOH
http://www.macfoh.com
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
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