Hi, I`m new here and, of course, have a small problem.
I need to create a program with VC++ 6 Builder where:
Press ENTER once - open picture,
Press ENTER Twice - start a music.

I can`t figure out how to check if user press ENTER twice, can anybody help me?

My Code:
Code:
void __fastcall TForm1::ListBox1KeyPress(TObject *Sender, char &Key)
{
switch( Key )
  {
   case  'VK_RETURN':
   { atidarytpav(); }
   break;
}