4 ms·
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 clic
by nemo44x 3y ago
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!
- duskwuff 3y ago> 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 https://woofle.net/impdf/TB-06-DialogManager.pdf)
- nemo44x 3y ago172 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.