hi,
i have written a small form application in c#. I have enabled shortcut key by using low level keyboard hook to give focus to application when needed.
All is working fine, I press the short key i.e. LControlKey+LControlKey for the first time the application get proper control.
But when I deactivate and redo the shortcut key, the icon of the application on the taskbar starts blinking and textbox in the application seems to get the focus(cursor blinking) but the control is still not reached. I say this because when i try to write something nothing gets written on the application.
I am giving focus to the application by using form.Activate() I have also tried from.Visible but with no luck.
Does any have any idea why is this happening?