Laurens Posted December 31, 2009 Share 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 Link to comment Share on other sites More sharing options...
DaDonik Posted December 31, 2009 Share 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) Link to comment Share on other sites More sharing options...
Laurens Posted December 31, 2009 Author Share Posted December 31, 2009 Was afraid so. Well thanks anyway! Quote Link to comment Share on other sites More sharing options...
L B Posted December 31, 2009 Share 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 Link to comment Share on other sites More sharing options...
Laurens Posted January 1, 2010 Author Share 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 Link to comment Share on other sites More sharing options...
fuego Posted January 1, 2010 Share 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 Link to comment Share on other sites More sharing options...
Josh Posted January 2, 2010 Share 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. Link to comment Share on other sites More sharing options...
fuego Posted January 2, 2010 Share 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 Link to comment Share on other sites More sharing options...
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.