The proper way to use GetAsyncKeyState is to BitAND the return value with 0x8000.
if (GetAsyncKeyState(VK_SHIFT) & 0x8000)
{
// The key is currently down
}
Type: Posts; User: chris95219
The proper way to use GetAsyncKeyState is to BitAND the return value with 0x8000.
if (GetAsyncKeyState(VK_SHIFT) & 0x8000)
{
// The key is currently down
}
You use the TextBox control. It has a "MultiLine" property that you can set to true for multiple lines.