The VNC Manager - SmartCode Solutions Forum
Home       Members    Calendar    Who's On
Welcome Guest ( Login | Register )
        



Keyboard and ViewOnly flag Expand / Collapse
Author
Message
Posted 1/9/2008 2:22:29 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 1/9/2008 2:19:29 PM
Posts: 4, Visits: 7
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?

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...

I've tryied using the PreTranslateMessage of my CDialog form but it works only if the ViewOnly flag is set to FALSE...

Thanks,

      Luca Baldini

Post #1871
Posted 1/9/2008 8:38:06 PM


Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Administrators
Last Login: 2 days ago @ 7:37:56 AM
Posts: 820, Visits: 1,328
May be you should try to use keyboard hooks instead of PreTranslateMessage? Using keyboards hooks you shoulbe able to capture all the keypresses.



Kindest Regards,
SmartCode Solutions Support
Post #1874
« Prev Topic | Next Topic »


Reading This Topic Expand / Collapse
Active Users: 0 (0 guests, 0 members, 0 anonymous members)
No members currently viewing this topic.
Forum Moderators: Support (s-code), Alex (s-code)

Permissions Expand / Collapse

All times are GMT -8:00, Time now is 4:10am

Powered by InstantForum.NET v4.1.4 © 2008
Execution: 0.203. 10 queries. Compression Disabled.