> In a Carbon application I would like to use a control similar to the
> red, yellow, and green button in the title bar of a floating window,
> that is very small, colored buttons. Is this control generally
> available? What is it called? Where is it documented?
It's not a public control. I'd recommend against using it in your gui.
Having said that, here is the bullet:
OSStatus DrawThemeTitleBarWidget (
ThemeWindowType flavor,
const Rect * contRect,
ThemeDrawState state,
const ThemeWindowMetrics * metrics,
ThemeWindowAttributes attributes,
ThemeTitleBarWidget widget
);
John Dundas - 28 Oct 2004 20:33 GMT
Chris,
> > In a Carbon application I would like to use a control similar to the
> > red, yellow, and green button in the title bar of a floating window,
[quoted text clipped - 12 lines]
> ThemeTitleBarWidget widget
> );
Thanks for the info. Strange that it's not public. It's so useful it
should be.
Thanks,
John