Ack, was wondering why I couldn't get Mortimer to show anything at startup. It creates an initial dialog but never shows it.

Turns out they were using SetWindowsHookEx() to install a "CBT" hook. What is CBT? Computer-Based Training, apparently.

The CBT hook gets called on several events of significance, including window creation/deletion. I have no idea why they needed to hook that, but once I implemented that, instead of ignoring it, they started doing some stuff.

This is the first window with a frame I've gotten, so now I can work on drawing the window chrome. (The dark grey square is an incorrectly-placed placeholder for the window frame.) Also, clearly need to implement word wrapping. :)

@aaronsgiles Mortimer and the Riddles of the Medallion?
@jmackley Of course! Sadly, I think only former LECers have ever heard of it. 😜​
@aaronsgiles Casey has wanted to play it for decades.
@jmackley Well, maybe I'll get it figured out! 🤞​
@aaronsgiles I was told the reason it could never run was that it was written for Direct X 1.0, which was immediately and drastically rewritten by MS.
@jmackley Well, from what I've seen, it definitely has some quirks. For some reason it imports several strange undocumented APIs from system DLLs that only exist in Win98, and not in Windows 2000 or later, so that's a pretty big problem right there. Haven't hit the DirectX stuff yet.