Laurens Posted December 31, 2009 Posted December 31, 2009 Hi guys, Silly question; is there a constant for the Pause/Break key on the keyboard? I couldn't find them in the C# wrapper (Key enum) but they also appear to be missing in C++. At first I though it was either LSYS or RSYS but this is not so. Thanks! Quote
DaDonik Posted December 31, 2009 Posted December 31, 2009 These are all the supported keys, and the Pause key is N/A http://www.leadwerks.com/wiki/index.php?title=Image:Keyboard.jpg Quote (Win7 64bit) && (i7 3770K @ 3,5ghz) && (16gb DDR3 @ 1600mhz) && (Geforce660TI)
Laurens Posted December 31, 2009 Author Posted December 31, 2009 Was afraid so. Well thanks anyway! Quote
L B Posted December 31, 2009 Posted December 31, 2009 I guess you could get it manually with another event hook system, but that would probably cause more trouble than anything else. Quote
Laurens Posted January 1, 2010 Author Posted January 1, 2010 Well, there is the .NET KeyDown/KeyUp event which supposedly does catch the Pause/Break key but I think that only works on forms. Quote
fuego Posted January 1, 2010 Posted January 1, 2010 I believe you would need to write a low-level keyboard handler to process key hits manually like in this article: http://blogs.msdn.com/toub/archive/2006/05/03/589423.aspx I hope this helps, because in some other forums that I have memberships, people who failed to process VK_PAUSE key code said they have succeeded with this method. Quote
Josh Posted January 2, 2010 Posted January 2, 2010 I don't think this key exists on a Mac. Quote My job is to make tools you love, with the features you want, and performance you can't live without.
fuego Posted January 2, 2010 Posted January 2, 2010 Oh Mac, you are right. If this is going to be a cross platform compatible product, everything must be on common things between platforms. I completely forgot about platform dependency when I have sent my previous post. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.