Hey thanks man, I've finally found the code to trap the depress of the ALT key using the GetAsyncKeyState code that you gave me. Here is the code that I formulated from it...

---------------------------------------------------------------------------------
void main (void)
{
int alt, esc=0, p = 0;
printf("Press ESC to exit");
printf("\nALT is up.");
while (esc == 0){
alt = GetAsyncKeyState(VK_MENU);
esc = GetAsyncKeyState(VK_ESCAPE);

if (alt != 0){
if (p == 0){
gotoxy(1, 2);
printf("ALT is down. ");
p=1;
}
}

if (alt == 0){
if (p == 1){
gotoxy(1, 2);
printf("ALT is up. ");
p=0;
}
}

}
getch();
}
----------------------------------------------------------------------------------

It works like a living charm. Dude, you ROCK!