c# - Trapping a key press -


i using turotial here

http://blogs.msdn.com/b/toub/archive/2006/05/03/589423.aspx

this traps key press , prints console. have idea on how make work control , key, ctrl + w? if guidance please or suggest need research find out?

thanks

system.windows.forms.control.modifierkeys should trick, telling whether shift, alt, and/or control pressed.

for example;

if (keys.w == (keys)vkcode && keys.control == control.modifierkeys) 

should check ^w combination, according link.


Comments

Popular posts from this blog

c# - SharpSVN - How to get the previous revision? -

c++ - Is it possible to compile a VST on linux? -

url - Querystring manipulation of email Address in PHP -