Combinations with special characters is a little more involved but here is the function: GetAsyncKeyState()
Hmmmmm and here is the line:
1 2 3 4
if ( GetAsyncKeyState ( control ) && GetAsyncKeyState ( 'c' ) )
{
CloseProgram();
}
U'll have to look up what those keys are, i think VK_CTRL maybe. 'c' u may have to find the ascii value. If control doesnt work try it with just 1 regular character.