orangekay wrote:
StandardAlert still wasn't a symbol exported by the Appearance Manager library as far as I can recall. What else ya got?
Apple documentation on the StandardAlert that says "This function is available with Appearance Manager 1.0 and later."
Oh right, I forgot that none of these products work anymore--probably because I've actually used them, but we can't let that count for much.
No we can't. I'm just repeating what I remember about complaints when Apple released Leopard that the "Pro" apps wouldn't work on Leopard. They do now, from what I hear. I wouldn't know because I've never used them. I'm a professional software developer by trade. Don't ask me about video editing, because I know nothing about. But I daresay I know more about software development than "some" 🙂
Your Carbon malignment crusade would be a lot more convincing if you were able to express your extraordinarily skewed opinions of it in such a way as to indicate that you had actually used the library--or any of its predecessors--in some meaningful capacity.
Telling people to avoid libraries that Apple has already stopped supporting in the 64-bit architecture is "malignment" and "extraordinarily skewed"? Just calm down! Like it or not, Carbon is on its way out. I always prefer to use relatively new, stable libraries when I have the choice.
Now, to get back to the original poster's question. There is a pure Carbon "CreateStandardAlert" function that can be used with "RunStandardAlert". I expect they would work just fine. I am a little bit worried about the filter function on RunStandardAlert. The old MacOS-vintage code would typically lock up the system while modal dialogs were displayed and menus were being selected. You could avoid that by writing a clever filter function to process those events while you were in the modal loop. Given that the original application in question seems to be a digital media program, using these two Carbon functions could cause problems. I don't think they will, but you never know.
I think "NSRunAlertPanel" would be easier to use and easier to link with that 3rd party SDL library.
Feel free to get the last word in if you want, I've lost interest and I shan't reply to this thread.