When showing a hint causes an Access Violation

I have just updated my last blog post regarding another effect of the Screen object caching the monitor configuration: Displaying a hint (via standard Delphi VCL functionality) causes an access violation. The solution is again to access the form’s monitor property. Unfortunately, it’s not that simple, as there is no user action that causes the hint to be displayed, so I looked for a way to detect monitor configuration changes, and found one: Handle the WM_SETTINGCHANGE message. See the last blog post for details.