Description: My application has registered hot key (done with help of RegisterHotKey).
After pressing hot key combination I simulate (with help of SendInput) Ctrl+Insert
keyboard input and then I read clipboard. This works well if user presses hot key
combination in MS Word or in Notepad but if hot key is pressed for example in Internet
Explorer or in Outlook Express the selected text come to clipboard in about 1.5 second
(incredible!);and therefore in run-time when clipboard is read I get the previous (old)
content of clipboard. From another hand I can not wait for 1.5 second to get updated
content of clipboard because it too long for any user to wait.
After pressing hot key combination I simulate (with help of SendInput) Ctrl+Insert
keyboard input and then I read clipboard. This works well if user presses hot key
combination in MS Word or in Notepad but if hot key is pressed for example in Internet
Explorer or in Outlook Express the selected text come to clipboard in about 1.5 second
(incredible!);and therefore in run-time when clipboard is read I get the previous (old)
content of clipboard. From another hand I can not wait for 1.5 second to get updated
content of clipboard because it too long for any user to wait.