On Wed Sep 14 14:43:26 2022 +0000, Connor McAdams wrote:
My thinking here was to try to avoid doing any work around allocating/starting the client thread if we know that the HWND passed in is invalid early on. But if that's an unnecessary optimization, I can change it to a check of SendMessage.
I think that's OK but the result of SendMessage still needs to be checked in case the window is destroyed after the initial check.