|
-
January 2nd, 2011, 02:25 PM
#1
Press Enter Twice
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:
void __fastcall TForm1::ListBox1KeyPress(TObject *Sender, char &Key)
{
switch( Key )
{
case 'VK_RETURN':
{ atidarytpav(); }
break;
}
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|