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. :)
