Why Associative Array Creation Has "=>" And Numerical Array Not ?
uniqueideaman - May 21 2017 04:25 AM
How create Login System Using Hardware ID IN .NET C#?
rshirsagar55 - May 15 2017 04:02 AM
How Come Variable Not Assigned And Php Knows Where To Look For Value ?
uniqueideaman - May 06 2017 04:21 AM
Magic Constants Case Sensitive or case In-sensitive ?
uniqueideaman - Apr 27 2017 05:58 AM
Recent Blog Entries
Recent Status Updates
- Managed C++
- Visual Basic 4 / 5 / 6
- linked list
- hello world
Key press detection
Posted 23 April 2008 - 09:45 PM
I'm quite new to programming so apologies if I'm being stupid asking this.
I've made a little Windows (xp) application using Visual Studio - one of the features I want for it is to detect key presses.
I have an integeter, counter, that starts at 100. I want it to decrement by 1 each time the user presses any key on their keyboard. After 1 minute, it will reset to 100.
It also needs to do this regardless of whether the application window is the active window or in the background.
If any one could point me in the right direction with this I'd greatly appreciate it.
Posted 23 April 2008 - 09:52 PM