First of all, I have to say that I already know that Cocoa is better, so don't reply to me telling me to do this or that in Cocoa. I want to know how to do some things with REALbasic Carbon builds, and they are:
1. Use the Preferences menu item in the Application Menu.
2. Change the Dock icon of the application, I know it is possible to do, but don't know how.
3. Use sheets.
4. Detect that you are running the Carbon build in Mac OS 9 or earlier, in order to be able to politely warn the user and quit.
Thanks.