-
C++ (
http://www.daniweb.com/forums/forum8.html)
| FTProtocol | Jul 3rd, 2008 1:10 am | |
| While(Holding Button) case IDC_Spam:
{
while(GetAsyncKeyState(VK_HOME))
{
// Functions
}
break;
}
But it didnt work :O |
| jencas | Jul 3rd, 2008 3:58 am | |
| Re: While(Holding Button) IIRC you have to call GetAsyncKeyState(VK_HOME) twice and compare the results to detect if the state of the button changes. |
| All times are GMT -4. The time now is 1:17 am. | |
Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC