Celebrating the 22th anniversary of the UltraVNC: https://forum.uvnc.com/viewtopic.php?t=38031
Update: UltraVNC 1.4.3.6 and UltraVNC SC 1.4.3.6: https://forum.uvnc.com/viewtopic.php?t=37885
Important: Please update to latest version before to create a reply, a topic or an issue: https://forum.uvnc.com/viewtopic.php?t=37864

Join us on social networks and share our announcements:
- Website: https://uvnc.com/
- GitHub: https://github.com/ultravnc
- Mastodon: https://mastodon.social/@ultravnc
- Bluesky/AT Protocol: https://bsky.app/profile/ultravnc.bsky.social
- Facebook: https://www.facebook.com/ultravnc1
- X/Twitter: https://x.com/ultravnc1
- Reddit community: https://www.reddit.com/r/ultravnc
- OpenHub: https://openhub.net/p/ultravnc

Windows Key - Hide Cursor Movement

Any features you would like to see in UltraVNC? Propose it here
Post Reply
eo
20
20
Posts: 49
Joined: 2004-10-22 01:01

Windows Key - Hide Cursor Movement

Post by eo »

It would be nice to have a hotkey or a Windows-Key that when you press it, allows you to move your mouse around or outside of the window so it doesnt interfer with the remote end.

Seems that when am in the monitor mode helping an end user, I may need to move the cursor to do functions on my local computer, or press options on the tool bar, but as I am getting the cursor away it's also redirecting the cursor on the remote end.

So I pressed, like Windows Key - M while I moved the mouse, that the mouse redirect would be ignored.
Guest

Post by Guest »

Ping.
OhMyGoat
40
40
Posts: 103
Joined: 2005-05-15 02:35

Post by OhMyGoat »

what about using vnc in a vmware virtual machine? so you can press ctrl+alt to release control from the virtual machine and also from the vnc client inside it :P (what a smart idea :o)
OfficialGuest
Guest Account
Posts: 53
Joined: 2004-08-22 09:38

Option to control or not control remote machine

Post by OfficialGuest »

I need a similar feature. I really want a VNC that lets me toggle on/off control of the remote machine. When turned on, it works like normal. When turned off, none of my keystrokes nor mose movements go to the remote machine. Also when turned off, I should be able to see the remote machine's mouse movements.

This would allow me to do something similar to Windows Remote Assistance, where the client and server can switch who controls the server machine!

I really want this feature to be able to remote pair-program using Ultr@VNC
User avatar
pgmoney
100
100
Posts: 285
Joined: 2004-06-26 22:29
Contact:

Re: Option to control or not control remote machine

Post by pgmoney »

B. A. Baracus wrote:I need a similar feature. I really want a VNC that lets me toggle on/off control of the remote machine. When turned on, it works like normal. When turned off, none of my keystrokes nor mose movements go to the remote machine. Also when turned off, I should be able to see the remote machine's mouse movements.

This would allow me to do something similar to Windows Remote Assistance, where the client and server can switch who controls the server machine!

I really want this feature to be able to remote pair-program using Ultr@VNC
Toggling view-only & let remote server deal with mouse at the same time from a hotkey (or menu bar icon) seems to be a quick fix that is working somewhat as you describe but there is a forced screen refresh I don't like. I'll see what I can do about it this weekend and clean it up a bit if I have more time...
User avatar
pgmoney
100
100
Posts: 285
Joined: 2004-06-26 22:29
Contact:

Post by pgmoney »

Of cource you will have to add an icon and define some variables and make backups of cursor shapes etc. but here is the meat of it... Hopefully the board won't destroy the formatting too much. I didn't have time to clean it up but it works. Great suggestion, I don't think I could stand using a viewer without it now.

// Toggle view only mode and enable remote cursor handling
// PGM @ Advantig 5-19-2005

case ID_LINPUT:
_this->m_opts.m_ViewOnly = false;
_this->m_opts.m_DisableClipboard = false;
_this->m_opts.m_requestShapeUpdates = true;
_this->m_opts.m_ignoreShapeUpdates = false;
_this->m_opts.m_localCursor = DOTCURSOR;
_this->m_pendingFormatChange = true;
_this->OldEncodingStatusWindow = -2; // force update in status window
return 0;

// in ClientConnection.cpp
case ID_DLINPUT:
_this->m_opts.m_localCursor = DOTCURSOR;
_this->m_opts.m_DisableClipboard = true;
_this->m_opts.m_requestShapeUpdates = false;
_this->m_opts.m_ignoreShapeUpdates = false;
_this->m_opts.m_ViewOnly = true;
_this->m_pendingFormatChange = true;
_this->OldEncodingStatusWindow = -2; // force update in status window
return 0;

// insert above the following case
case SC_RESTORE:
_this->SetDormant(false);
ShowWindow(_this->m_hwndStatus,SW_NORMAL);
break;

// Add stuff to System menu
HMENU hsysmenu = GetSystemMenu(m_hwndMain, FALSE);
if (!m_opts.m_restricted) {
AppendMenu(hsysmenu, MF_SEPARATOR, NULL, NULL);
AppendMenu(hsysmenu, MF_STRING, ID_LINPUT, sz_L96);
AppendMenu(hsysmenu, MF_STRING, ID_DLINPUT, sz_L97);
AppendMenu(hsysmenu, MF_SEPARATOR, NULL, NULL);

// Toggle View Only On/Off
case WM_COMMAND:
if (LOWORD(wParam) == ID_BUTTON_VIEWONLY)
{
if (_this->m_opts.m_ViewOnly)
{
SendMessage(parent,WM_SYSCOMMAND,(WPARAM)ID_LINPUT,(LPARAM)0);
SendMessage(parent,WM_SIZE,(WPARAM)ID_LINPUT,(LPARAM)0);
}else{
SendMessage(parent,WM_SYSCOMMAND,(WPARAM)ID_DLINPUT,(LPARAM)0);
SendMessage(parent,WM_SIZE,(WPARAM)ID_DLINPUT,(LPARAM)0);
}
return 0;
redge
1000
1000
Posts: 6797
Joined: 2004-07-03 17:05
Location: Switzerland - Geneva

Post by redge »

B. A. Baracus

very good idea as half part exist with keyboard.

like scroll lock now can control key feature of remote computer can control mice too or if inactiv let remote computer free, only watching

feature:
menu: Disable/Enable remote input function key to be added
Scroll Lock ON, control mouse and keyboard of remote (remote can use too)
Scroll Lock OFF, NO control keys and mouse of remote computer, only view


until this so nice feature will be inlcuded:
teamwork is available with teamviewer VNC flavor for share work
viewer <---> server can be easy reversed by one icon button.
http://www.teamviewer.com
free and open source based on UltraVNC
Last edited by redge on 2005-06-08 10:54, edited 2 times in total.
UltraVNC 1.0.9.6.1 (built 20110518)
OS Win: xp home + vista business + 7 home
only experienced user, not developer
redge
1000
1000
Posts: 6797
Joined: 2004-07-03 17:05
Location: Switzerland - Geneva

local dotcursor

Post by redge »

UltraSam wrote: FAQ Ultr@VNC
RC11(b,c,d...): local "Dot" cursor is no more disp
[topic=50][/topic]

:idea:
local dotcursor
would be greatly appreciating inside all quickoption and add to vncviewer GUI
Options...
Mouse Cursor...
[x]local dot cursor on passiv/background/full screen viewer interactiv (enabled/disabled) with Scroll Lock key !

That's finally close the story of this topic below:
[topic=2697][/topic]
and complete requirement of everyone
UltraVNC 1.0.9.6.1 (built 20110518)
OS Win: xp home + vista business + 7 home
only experienced user, not developer
boom_243
Posts: 3
Joined: 2013-02-02 03:35

Re: Windows Key - Hide Cursor Movement

Post by boom_243 »

Hi pgmoney, the post about the hiding cursor you did:

"Of cource you will have to add an icon and define some variables and make backups of cursor shapes etc. but here is the meat of it... Hopefully the board won't destroy the formatting too much. I didn't have time to clean it up but it works. Great suggestion, I don't think I could stand using a viewer without it now."

what is the purpose of the info you posted? What is it supposed to do? Is it a batch file or a script? Just trying to understand what you wrote.

Thanks,
User avatar
Oliver
Site-Admin
Site-Admin
Posts: 532
Joined: 2004-04-21 23:04
Location: Frankfurt am Main
Contact:

Re: Windows Key - Hide Cursor Movement

Post by Oliver »

boom_243 wrote:what is the purpose of the info you posted? What is it supposed to do? Is it a batch file or a script? Just trying to understand what you wrote.
Looks like a C++ patch ;)
Oliver

How to Report Bugs Effectively
My homepage | WinDirStat
PGP-keys:
  • Forum or UltraVNC-related: 0xA2DD1DBD, E18B 2E2F 4F3E D143 4ED4 3E2B E172 FB55 A2DD 1DBD
  • Other matters: 0x0E88590F, 38B5 5EBA A470 C0F7 0942 81B8 C779 D829 0E88 590F
Post Reply