|
From: David M. <dml...@co...> - 2004-12-19 21:11:34
|
It depends on the enviroment / library you are using. Under windows you can intercept the WM_KEYDOWN & WM_KEYUP (or somthing similar). If you are using the allegro livrary there is the getkey function and the key array. wxWidgets has similar messages to windows (check the docs, I don't rember them offhand). Farzan Hajian wrote: > Hi Dev-C++ users, > Please tell me how can I force my programs to detect hit keys of > keyboard..... > > thanks, > |