THE OMEGA7 wrote:
> can some one teach me hoe to use the alt and ctrl keys
> . what i mean is how to write a c++ code that will
> cause some thing to happen when "alt or ctrl" and a
> key is held down .
*IF* you use Windows, *AND* simple WINAPI, then:
using the WINAPI, it sends you messages about keypresses, also about=20
ctrl and alt keys. Look at the winapi help file (downloadable with the=20
Dev-C++ updater) and look for the WM_KEYDOWN and WM_KEYUP messages, and=20
also take a look at "Virtual-Key Codes" to know what to check for.
--
Greetings,
Bal=E1zs
|