Aktonius Posted July 28, 2011 Share Posted July 28, 2011 (edited) I can see how this is done for simple gui control messages with wm_command, but how could i do this for shortcut message that goes in to queue? What i am trying to do is throw the message of shortcut away if shortcut isnt finished. For example $shortcutended = 0 > shortcut code here< $shortcut ended = 1 If i am not mistaken, once you press a keyboard button to send shortcut it goes to message queue so i could do something in the proc function for messages... If $shortcutended = 0 then ignore the shortcut message... Ultimately i am trying to avoid delayed shortcuts so for example if shortcut processing becomes slow and user moves the mouse then shortcut could wrongly be applied to another window... Edited July 28, 2011 by Aktonius Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now