I'm currently trying to experiment with using PostMessage.
I got the hang of how to use it and apply different keys and such but I've met a problem: When using PostMessage while I myself am pressing Shift or Ctrl, it will be a combined Keypress of Shift + Key.
In some situations this isnt optimal or actually wrong and I was wondering if it's possible to either ignore the Keystate of Shift or set it to No through Flags or something
PostMessage(hWnd, WM_SYSKEYDOWN, VK_S, 0);
PostMessage(hWnd, WM_SYSKEYUP, VK_S, 0);
I'm using it like this. I've tried using WM_KEYDOWN and UP or WM_CHAR but it seems like my application doesn't react to WM_CHAR and WM_KEYDOWN does the same as WM_SYSKEYDOWN