Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Really nice API. Compare to Mac of that era you needed to create and maintain your own event loop and have a bunch of branches for when a certain thing was clicked.

To show a basic dialogue you had to continue to draw it over and over in your loop.

Windows took care of devs!



> To show a basic dialogue you had to continue to draw it over and over in your loop.

It wasn't quite that bad. Basic alert dialogs were fully handled by Alert(); event loops for more complex dialogs were implemented by ModalDialog(). Anything non-modal could certainly get hairy, though.

(Relevant documentation: https://woofle.net/impdf/TB-06-DialogManager.pdf)


172 pages for dialog’s lol. Thank god for ResEdit! You’re right though. If I recall because of the single thread certain built-in popups could more or less block. BUT - perhaps you wanted something a bit more tricky. Well, now you’re back in it! :)

I always liked that exitToShell() took you to a GUI.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: