Aktonius 2 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 Share this post Link to post Share on other sites