FROM : Mark Eaton
DATE : Sat Jan 18 03:50:26 2003
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_removed>
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
DATE : Sat Jan 18 03:50:26 2003
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_removed>
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
| Related mails | Author | Date |
|---|---|---|
| Mark Eaton | Jan 18, 03:50 | |
| Nicholas Riley | Jan 18, 19:26 |






Cocoa mail archive

