Posts 1–1 of 1 · Page 1 of 1
Postmessage error
Code:
for (int i = 65; i < 91; i++)
{
if (KeyDowns[160])
{
if (KeyDowns[i]) PostMessage(Handle, WM_KEYDOWN, i, 0);
}
else
{
if (KeyDowns[i]) PostMessage(Handle, WM_KEYDOWN, i + 32, 0);
}
}
The problem, when i dont hold the shift key (160) then it dont send the lowercase lettes...
It sends:
when press 'a' key: 1
when press 'b' key: 2
etc...
The upper when it have to send the Capital letters, works well...
WTF is wrong with this ?Posts 1–1 of 1 · Page 1 of 1