2
Hello, I need to send click combination CTRL+V via POSTMESSAGE. I tried to do it this way:
PostMessage(h,WM_KEYDOWN,VK_CONTROL,0);
PostMessage(h,WM_KEYDOWN,VK_V,0); (Ele da erro nessa linha diz que o VK_V não existe)
PostMessage(h,WM_KEYDOWN,VK_CONTROL,1);
PostMessage(h,WM_KEYDOWN,VK_V,1);
What could I be doing wrong ?
i tested this way, it does not glue.... if I give CTRL + V it glue straight, more with POSTMESSAGE will not...some other suggestion ?
– user7605
I do not know why, the second command, it appears the letter V on the other side...because it will be ? and not glue...
– user7605
Okay @Sunstreaker, thanks for your help!
– user7605
Yes I have @Sunstreaker, because if I give a CTRL + V on the machine it glue normal.. strange right ?
– user7605
it worked yes...the Handle was wrong! Thanks friend!
– user7605