Auto-Scroll Remote Screen

Any feature you'd like to see in Ultr@VNC? Just propose it here.

Auto-Scroll Remote Screen

Postby jxp » 2005-05-10 20:00

Auto-Scroll Remote Screen when it is larger than our viewer window, even if we are not using full-screen on the viewer.
Last edited by jxp on 2005-05-10 20:01, edited 1 time in total.
jxp
 
Posts: 1
Joined: 2005-05-10 19:58

Postby Chuckybeast » 2005-05-12 11:44

I vote for this one too, this feature is present in "Remote Admin" tool (not free or open) and it is very usefull !

Currently, it's my pb: Remote desktop: 1280x1024, viewer term: 1024x768.. really annoying to scroll manually with the scroll bar

Thanx for your help coderz !

C.
Chuckybeast
 

Postby Ipsec » 2005-05-12 22:56

using the auto scale screen option works as a temp fix until they see this as a possible solution.

CTRL+ALT+F10
Ipsec
Former moderator
Former moderator
 
Posts: 565
Joined: 2004-09-20 18:56

Re: Auto-Scroll Remote Screen

Postby CodeName33 » 2011-03-23 18:38

Yes, I'm raising up dead theme :) but... I can't see something like this now in 2011.

So, I made some changes to vesion's 1.0.8.2 source code (Windows). Now autoscroll (like 'Radmin') works in client window (not fullscreen).

I've added this function to ClientConnection.cpp
void ClientConnection::CheckScrolls(HWND hwnd, int x, int y)
{
ClientConnection *_this = helper::SafeGetWindowUserData<ClientConnection>(hwnd);
INT MoveOffset = 16;
INT SX = 0;
int SY = 0;

int W = _this->m_cliwidth;
int H = _this->m_cliheight;

INT OffsetW = W / 6;
INT OffsetH = H / 6;

if (x < OffsetW)
{
SX = -MoveOffset;
}
else if (x > W - OffsetW)
{
SX = MoveOffset;
}
if (y < OffsetH)
{
SY = -MoveOffset;
}
else if (y > H - OffsetH)
{
SY = MoveOffset;
}


if (SX != 0 || SY != 0)
{
_this->ScrollScreen(SX, SY);
}
}

and call it on mouse move event + in special timer.

Link to compiled windows executable 32bit:
http://codename33.ru/projects/vncviewer ... .03.23.zip
Last edited by CodeName33 on 2011-03-23 18:40, edited 1 time in total.
CodeName33
 
Posts: 3
Joined: 2011-03-23 18:25

Re: Auto-Scroll Remote Screen

Postby e-ghost » 2011-04-08 03:04

CodeName33 wrote:Yes, I'm raising up dead theme :) but... I can't see something like this now in 2011.

So, I made some changes to vesion's 1.0.8.2 source code (Windows). Now autoscroll (like 'Radmin') works in client window (not fullscreen).

I've added this function to ClientConnection.cpp
void ClientConnection::CheckScrolls(HWND hwnd, int x, int y)
{
ClientConnection *_this = helper::SafeGetWindowUserData<ClientConnection>(hwnd);
INT MoveOffset = 16;
INT SX = 0;
int SY = 0;

int W = _this->m_cliwidth;
int H = _this->m_cliheight;

INT OffsetW = W / 6;
INT OffsetH = H / 6;

if (x < OffsetW)
{
SX = -MoveOffset;
}
else if (x > W - OffsetW)
{
SX = MoveOffset;
}
if (y < OffsetH)
{
SY = -MoveOffset;
}
else if (y > H - OffsetH)
{
SY = MoveOffset;
}


if (SX != 0 || SY != 0)
{
_this->ScrollScreen(SX, SY);
}
}

and call it on mouse move event + in special timer.

Link to compiled windows executable 32bit:
http://codename33.ru/projects/vncviewer ... .03.23.zip


This one is sweet! It works! But I cannot find "file transfer" function that I usually need in this build? :D
e-ghost
8
8
 
Posts: 11
Joined: 2011-04-08 02:50

Re: Auto-Scroll Remote Screen

Postby CodeName33 » 2011-04-08 04:41

e-ghost wrote:This one is sweet! It works! But I cannot find "file transfer" function that I usually need in this build? :D


What's wrong with file transfer? "File transfer" button still present on main window's toolbar and in window's system menu (when remote control is active)
CodeName33
 
Posts: 3
Joined: 2011-03-23 18:25

Re: Auto-Scroll Remote Screen

Postby e-ghost » 2011-04-12 07:14

those icons don't show up in my case. my vncserver is at 1.0.9.5. maybe be too newer?
e-ghost
8
8
 
Posts: 11
Joined: 2011-04-08 02:50

Re: Auto-Scroll Remote Screen

Postby B » 2011-04-12 16:30

Yeah I don't think file transfer is compatible between 1.0.8.x and 1.0.9.x. Which stinks.
B
Super-Mod
Super-Mod
 
Posts: 2347
Joined: 2009-09-09 14:05

Re: Auto-Scroll Remote Screen

Postby redge » 2011-04-12 23:54

CodeName33

last version is 1.0.9.6 since 4 April 2011 support RFB 3.8 and 3.3
better to recompile vncviewer with 1.0.9.6 with Auto-Scroll Remote Screen windows
Last edited by redge on 2011-04-12 23:54, edited 1 time in total.
UltraVNC 1.0.9.6.1 (built 20110518)
OS Win: xp home + vista business + 7 home
only experienced user, not developer
redge
Super-Mod
Super-Mod
 
Posts: 6815
Joined: 2004-07-03 17:05
Location: Switzerland - Geneva

Re: Auto-Scroll Remote Screen

Postby e-ghost » 2011-04-14 06:54

yes~ totally support~ :-D
also pls compile the x64 version~ :-*
e-ghost
8
8
 
Posts: 11
Joined: 2011-04-08 02:50

Re: Auto-Scroll Remote Screen

Postby CodeName33 » 2011-04-14 20:49

UltraVNC Viewer 1.0.9.6 with autoscrolling:
http://codename33.ru/projects/vncviewer ... .04.15.zip

Compiled with Visual Studio 2010 (may be redistributable package needed, I don't know :) ). I haven't DirectX SDK (and I don't wanna install it), so I removed experimental directx support from code.

File Transfer works (as it works in client version 1.0.8.2 from same toolbar button) with 1.0.8.2 server.
CodeName33
 
Posts: 3
Joined: 2011-03-23 18:25

Re: Auto-Scroll Remote Screen

Postby B » 2011-04-14 21:01

Damn, CodeName33, you've contributed more in 3 posts than I have in a thousand!

Rudi, can this feature be incorporated into the mainline? It seems like a rather essential feature to me...
B
Super-Mod
Super-Mod
 
Posts: 2347
Joined: 2009-09-09 14:05

Re: Auto-Scroll Remote Screen

Postby redge » 2011-04-16 23:36

CodeName33

Thank you a lot for your quick and great work adding auto-scroll to remote screen windows for who requested it
just need Rudi add it to official source code include DirectX support
UltraVNC 1.0.9.6.1 (built 20110518)
OS Win: xp home + vista business + 7 home
only experienced user, not developer
redge
Super-Mod
Super-Mod
 
Posts: 6815
Joined: 2004-07-03 17:05
Location: Switzerland - Geneva


Return to Feature requests

Who is online

Users browsing this forum: No registered users and 0 guests