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
Post a Comment