Windows VNC viewer and local application hot keys

James Weatherall jnw "at"
Tue Nov 29 11:57:00 2005

Hi Matt,

At present the low-level hooking only sends specific keys because otherwise
all keypresses to the viewer window are effectively bypassing the message
queue, which causes some undesirable behaviours.  It's possible to do a
total by-pass, but this would be quite a lot of work to arrange.


Wez @ RealVNC Ltd.

> -----Original Message-----
> From: vnc-list-admin "at" 
> [mailto:vnc-list-admin "at"] On Behalf Of Matt Campbell
> Sent: 28 November 2005 22:47
> To: vnc-list "at"
> Subject: Windows VNC viewer and local application hot keys
> Hello all,
> I noticed that in VNC 4.1.1, the Windows viewer has the option to 
> disable special Windows keys while in the viewer's main 
> window.  These 
> keys include the Windows key, Alt+[Shift+]Tab, and a few others.  But 
> this option doesn't cover any application-defined shortcut keys which 
> may exist on the client machine.  For example, suppose that 
> on both the 
> client and server machines, Control+Alt+F starts an 
> application.  If I 
> press Control+Alt+F while in the viewer, I want that 
> keystroke to go to 
> the server.
> I see that a low-level keyboard hook is used to disable 
> special Windows 
> keys.  I wonder why the hook procedure only sends certain keystrokes 
> directly to the viewer's desktop window, instead of sending them all. 
> I'm guessing there's a reason, but if only certain keystrokes are 
> filtered, then I don't know of a way to make sure that all 
> application-defined global hot keys are sent to the server.  
> Any thoughts?
> Thanks,
> Matt
> _______________________________________________
> VNC-List mailing list
> VNC-List "at"
> To remove yourself from the list visit: