Trouble with standardWindowButton
Trouble with standardWindowButton
- Subject: Trouble with standardWindowButton
- From: Casey Fleser <email@hidden>
- Date: Wed, 17 Mar 2004 09:12:05 -0600
I'm trying to use standardWindowButton:forStyleMask: to sprinkle some
buttons into a borderless window and there are a few problems.
- The buttons don't highlight as the mouse moves over them
- The buttons don't change appearance as the window becomes in/active.
I googled standardWindowButton and found that someone else had this
problem a year or so back, but no solution was ever presented. Anyone
have any ideas?
Once I get the normal windows buttons working, I was hoping to shrink
them down a bit much like the buttons in iTunes minimized. I'd tried
change the size of the button via it's cell's setControlSize. This had
no affect for either NSSmallControlSize or NSMiniControlSize. Does
anyone know whether iTunes is using a custom solution or standard APIs?
Finally, I see that the iTunes window buttons respond to changing the
appearance from Blue to Graphite. In the unhappy event that I have to
roll my own solution can somehow point me in the right direction on how
my app is notified of a change in themes so I can alter the look of my
controls appropriately?
Thanks,
Casey
_______________________________________________
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.