The DEFINEs are left over from a post by Nils in 2018. I haven't checked them forever, but look to be correct from
https://docs.microsoft.com/en-us/win...-updateuistate


It all works if I leave my page procedure in place, not if I don't. I'm happy to do that anyway but I'll come back to this.

Thanks for the help.