On Thu Jun 27 23:08:13 2024 +0000, Jinoh Kang wrote:
I don't see the reason behind this, isn't this what my
WM_DIALOG_LOADED is for? No, I mean **after** `SendInput` (and `WaitForSingleObject`). While waiting for the event, the message loop thread might still be processing other queued messages and not have dequeued ours from SendInput. Are you saying that message loop has no more work once the window has been initialized? Because that's not the case.
Ah you mean it might not have processed the keyup yet and we already continue execution?
I pushed an update, is this better? I used my own message over WM_NULL though.