Help!On remote desktop mouse control!
Hi i'm building a remote desktop program but am having problems with cursor delay.i cant seem to get the cursor to stream on a home network. Like it seem's
to skip all ver the place.I have my program send the coordinates on a timer set to 1000 or (1 second) i have tryed setting it to a faster send time but it seem's to get even more delay im guessing im flooding the trafic so i was wondering if anyone has any suggestions on how to stream cursor control like remote desktop on windows xp.I just finished using remote desktop and they make it look easyso im wondering maybe you guy's could help me sream the cursor maybe post code or something.
Re: Help!On remote desktop mouse control!
I was also wondering how they refreshed desktop picture on remote desktop.they did it by peices could some one show me that to please. :wave:
Re: Help!On remote desktop mouse control!
Windows' remote desktop application is done by sending the drawing commands Windows uses to draw something. This uses remarkably less bandwidth than sending an entire desktop image over the network. The same applies for mouse movement: only mouse position information is sent, not a new image that includes the mouse pointer.
Re: Help!On remote desktop mouse control!
ok i see. i'm sending the mouse position's through a timer set at 1 Millisecond
at first it seem's quick but than quickly slows down and id have to wait like 1 2 minutes before the mouse moves again. I believe that im flooding program with too many positions at one time.So i was thinking if i had it send only when position changed would that give it a faster more cleaner move instead of slow and choppy.
And about the draw function would thay show cursor image and everything else as well (Everything else = "right click menu's" and taskbar)? If it show's everything than darn thank's for the tip. :afrog: :thumb: :wave:
Re: Help!On remote desktop mouse control!
i was also wondering what api is the draw function? Because ifound drawwindow and printwindow but cant seem to get the perfect image.Could you please post the code or something.It would really help me out.
Re: Help!On remote desktop mouse control!
Something you could try is to "record" local-side mouse movement as a series of changes every x milliseconds (using a timer that grabs the exact position regularly) then send the series each time and have the remote PC "play" them...it would however be slightly delayed, but it *wouldn't* be stuttered, it'd be smoother :-)
Re: Help!On remote desktop mouse control!
Ok sound's good ill try it out thank's. :thumb: