I added a timer to my form and inputed the following code in it and now everything works the way I want it too !!!!
//If 'D' is held down.
if((GetKeyState(0x44) & 0x0080) == 0x0080)
{
Particule1->RotCCW();
}...
Thank you tsh73 that seems to be what I was looking for. I looked in the online help of Borland Builder 6 and I got lots of info on this function. I'll give it a shot sometime this week and I'll let you know if it works. Thank you very much for your help!!!
Etienne
Hi,
I'm working on a personal project using Borland C++ Builder 6. This project consists of a plain form on which I draw a circle with a direction line and I make it move using the keyboard. I currently have some keys mapped to move the circle. I use the event called OnKeyDown on the main form...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.