﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>The VNC Manager - SmartCode Solutions Forum / General Discussion / SmartCode ViewerX VNC Viewer ActiveX  / Keyboard and ViewOnly flag / Latest Posts</title><generator>InstantForum.NET v4.1.4</generator><description>The VNC Manager - SmartCode Solutions Forum</description><link>http://www.s-code.com/forum/</link><webMaster>forums@s-code.com</webMaster><lastBuildDate>Sat, 04 Jul 2009 14:27:05 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: Keyboard and ViewOnly flag</title><link>http://www.s-code.com/forum/Topic1871-6-1.aspx</link><description>May be you should try to use keyboard hooks instead of PreTranslateMessage? Using keyboards hooks you shoulbe able to capture all the keypresses.</description><pubDate>Wed, 09 Jan 2008 20:38:06 GMT</pubDate><dc:creator>Support (s-code)</dc:creator></item><item><title>Keyboard and ViewOnly flag</title><link>http://www.s-code.com/forum/Topic1871-6-1.aspx</link><description>Hi, I have a simple question... when the ViewOnly flag is set to FALSE every key I press is sent directly to the ServerX. Is there a way of detecting what I'm pressing before the key gets sent?&lt;/P&gt;&lt;P&gt;What I'm trying to do is the following: allow the user to go to Fullscreen mode than ask him to press, for example, CTRL-ALT-F5 to go back to normal mode... &lt;/P&gt;&lt;P&gt;I've tryied using the PreTranslateMessage of my CDialog form but it works only if the ViewOnly flag is set to FALSE...&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;      Luca Baldini</description><pubDate>Wed, 09 Jan 2008 14:22:29 GMT</pubDate><dc:creator>l.baldini</dc:creator></item></channel></rss>