I'm not entirely sure how to do this properly. I'm trying to send the keystroke CTRL-SHIFT-M to a window using PostMessage. How do I specify this with the function though? IIRC, to send CTRL-M (for example) I'd just use:
int kDown = PostMessage(hWnd, WM_KEYDOWN, VK_M, VK_CONTROL);
int kUp = PostMessage(hWnd, WM_KEYUP, VK_M, VK_CONTROL);
However that code doesn't seem to work. But how do I do this with the full CONTROL-SHIFT-M keystroke instead?
Long story short, there's a "Help" link on an application that I'm developing for my office. When the user clicks this link, I want it to open a new mail window in Outlook and fill out the To and Subject lines, then move the cursor to the body field so they can type their message... although I'm obviously not that far along yet. :)