On Sat Mar 16 18:33:22 2024 +0000, Zebediah Figura wrote:
That doesn't work; there are multiple orderings of key presses and releases that should yield Ctrl-C, and this won't catch the case where the Ctrl key is released before C. You probably want WM_CHAR.
I couldn't get this to work with WM_CHAR. For some reason, it returned VK_CANCEL, so not exactly what I was expecting. I'm not really interest if we missing ctrl being released before the C.