case IDC_Spam:
{
while(GetAsyncKeyState(VK_HOME))
{
// Functions
}
break;
}
But it didnt work :O
case IDC_Spam:
{
while(GetAsyncKeyState(VK_HOME))
{
// Functions
}
break;
}
But it didnt work :O
IIRC you have to call GetAsyncKeyState(VK_HOME) twice and compare the results to detect if the state of the button changes.
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.