January 4th, 2011, 12:30 PM
Finally I figure out how to solve this problem, thank you Igor
January 4th, 2011, 08:14 AM
January 4th, 2011, 04:42 AM
Sry, but this code wont work I try
switch( Key )
{
case 'VK_RETURN':
{
pressCount = ++pressCount % 2 }
if (pressCount != 0)
{
January 3rd, 2011, 04:04 PM
Ok I have this script
int pressCount = 0;
void __fastcall TForm1::ListBox1KeyPress(TObject *Sender, char &Key)
{
switch( Key )
{
case 'VK_RETURN':
January 2nd, 2011, 03:53 PM
But how about - CodeGuru Forums > Visual C++ & C++ Programming > Visual C++ Programming ?
January 2nd, 2011, 03:20 PM
The :ListBox1KeyPress method takes a pointer to a TObject called Sender. Mostly, every event handler, in c++, will have at least a Sender parameter. When the button is clicked, the event handler...
January 2nd, 2011, 02:25 PM
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...