Click here to Skip to main content
15,889,200 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi
i want to the ascii code function key
like if i press F1 then the function of help will call
i can control ESC but i dont know how i can control function key
if you knw any thing plz help me in this case

thanks
in advance

bye
Posted

There's a special event for control keys, they don't have a character value. If you can't get a char event to fire when you push F1, I bet you need the system char event.
 
Share this answer
 
I think you are looking for the virtual key codes,
which is explained in msdn http://msdn.microsoft.com/en-us/library/dd375731(v=VS.85).aspx
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900