Get The Key Stroke?
Nov 24, 2009I want to get the key what I have pressed. I got it through keypressed and keyup events. but i need to get through window procedure.
View 3 RepliesI want to get the key what I have pressed. I got it through keypressed and keyup events. but i need to get through window procedure.
View 3 RepliesI made a web browser and i want to make the backspace key go to a specified url instead of to the previous one. this is what ive got but not working it freezes the application if i press back space
If e.KeyCode = Keys.Back Then
Navigate[URL]
End If
But if i take out the middle part it wont freeze.
I'm trying to send a key stroke to one application, through PostMessage. I am using too Spy++ to try to understand how to send the message, as I do not fully understand its inner workings. In this picture, the first item(selected item) was made with an actual key stroke made by myself. The one with a red elipse around it(below) was made with the following code:
[Code]...
I guess it must have something to do with the last PostMessage() parameter, but I can't figure out how it really works. I can see in the original key stroke the ScanCode = 48, and in mine its 0, and also fExtended is 1 and in mine is 0. How can I make it look the same? edit: Here is the msdn link. [URL].aspx I cannot understand the last parameter's working, if anyone does..
I'm developing a web application that displays items from a work queue to a user. When an item is selected I have the app lock that item out so no other user can select it. By hitting the back button in the app it unlocks the item.
I want to be able to unlock the item if the user hits the backspace key. I know what code I need to unlock it. I just need to know how to make the code execute on backspace key stroke.