If anyone is waiting for the answer to this, the issue was actually in my reading of the SendMessage Win32 call. SendMessage is serial, so it was sending a message and processing in a different thread, causing issues. PostMessage, however, returns immediately, so by switching to PostMessage the issu...