things to avoid in your AUCarbonView
things to avoid in your AUCarbonView
- Subject: things to avoid in your AUCarbonView
- From: Marc Poirier <email@hidden>
- Date: Sun, 22 Jun 2003 21:04:00 -0500 (CDT)
ChangeWindowGroupAttributes(GetWindowGroup(GetCarbonWindow()),
kWindowGroupAttrMoveTogether | kWindowGroupAttrLayerTogether |
kWindowGroupAttrHideOnCollapse | kWindowGroupAttrSharedActivation, 0);
That might seem okay until you try dragging some window in the host app
around, or shrink one into the Dock, hee hee hee...
I think maybe the best way to mess with the host window group is to create
a new group, make the current host window group the parent of your new
group, and then move the host window group into your new group, and then
when you destroy your group, move the host window back to its original
group. But I'm not 100% and will try investigating this further (sigh...
window groups are quite cool, but the whole parent group / child group
thing and the substance of their relationship is not very documented yet).
Doing this in response to a parameter change or something like that is not
such a good idea, either:
SetWindowAlpha(GetCarbonWindow(), (float)rand() / (float)RAND_MAX);
Marc
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.