At 8:08 PM -0400 5/20/08, Gary L. Wade wrote:
I'm planning on doing something like this myself with one of my
projects, and the way I plan on trying it out is by using:
-(NSButton *)standardWindowButton:(NSWindowButton)b;
for each NSWindowButton of the NSWindow, find a reasonable visual
gap to the left/right of one of the buttons, and then add my own to
their superview.
I wasn't sure I could do this at first, because my window (a modal
dialog) does not have close, minimize, or zoom buttons, or any other
button that standardWindowButton: can return. I worked around that
by temporarily creating a toolbar, getting the location and superview
of the toolbar button, and then removing the toolbar.
Thanks for the help,
--
Jim Matthews
Fetch Softworks
http://fetchsoftworks.com
_______________________________________________
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to [EMAIL PROTECTED]