On May 25, 2005, at 4:34 PM, Luke Bellandi wrote:
Poking around, it seems to be the difference between being able to become the "key window". Cocoa docs says if a window doesn't have a title bar or a resize bar, it can't become key - this carbon window DOESN'T but CAN.
Yes, that's the case in AULab as well. But in re-reading the sentence above, it's applying Cocoa documentation to Carbon objects. While there are a great deal of similarities between the two, they are not one and the same
You are correct. Now, how do we get this Carbon window not to become key? Or are those terms just apples and oranges (carbon window / key window)? AULab isn't using an NSPanel, is it? It's got a big titlebar!?
Actually, NSPanels default appearance is exactly like NSWindow's. Note NSUtilityWindowMask from NSPanel.h is the constant used to indicate a thin title bar for a utility panel. That thin title bar is strictly cosmetic. While any on-screen-window that has a thin titlebar is an NSPanel, not all NSPanels have thin titlebars.
You are again correct. I forgot NSPanel is a *subclass*.
Well, are these further steps just in wait of the Tech Note Bill spoke of, or are there some solid steps I can take here? I'm very happy to get the Carbon window from deactivating, and it feels & looks a lot better than it did, but as Bill said, there's more stuff to do...
Ev Technical Knowledge Officer Head Programmer/Designer Audiofile Engineering
|