standardWindowButtons
standardWindowButtons
- Subject: standardWindowButtons
- From: Mark Eaton <email@hidden>
- Date: Fri, 17 Jan 2003 18:50:26 -0800
So I'm using a borderless window, but I want the standard window
widgets, so I call [NSWindow standardWindowButton:forStyleMask:] and
add each type as a subview of a little grouper view.
All seems well, except that it appears that I need to mimic the
rollover behavior of the standard window widgets myself. I added a
tracking rect to the grouper view and pass mouseEntered: and
mouseExited: to the standard window buttons, to no effect (actually
this crashes due to a recursive mouseEntered: for some reason, but
fixing it yields no visible results). Calling highlight gives the
pressed state.
How should one configure these widgets in order to get the proper
rollover behavior?
thanks in advance,
-mark
_______________________________________________
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.