Results 1 to 7 of 7

Thread: Help!On remote desktop mouse control!

  1. #1

    Thread Starter
    Hyperactive Member g4hsean's Avatar
    Join Date
    May 2006
    Posts
    267

    Exclamation 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.
    Coding's a Breeze if you'r at ease! GOD THATS CORNY!!
    -

  2. #2

    Thread Starter
    Hyperactive Member g4hsean's Avatar
    Join Date
    May 2006
    Posts
    267

    Exclamation 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.
    Coding's a Breeze if you'r at ease! GOD THATS CORNY!!
    -

  3. #3
    VB6, XHTML & CSS hobbyist Merri's Avatar
    Join Date
    Oct 2002
    Location
    Finland
    Posts
    6,654

    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.

  4. #4

    Thread Starter
    Hyperactive Member g4hsean's Avatar
    Join Date
    May 2006
    Posts
    267

    Exclamation 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.
    Coding's a Breeze if you'r at ease! GOD THATS CORNY!!
    -

  5. #5

    Thread Starter
    Hyperactive Member g4hsean's Avatar
    Join Date
    May 2006
    Posts
    267

    Exclamation 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.
    Coding's a Breeze if you'r at ease! GOD THATS CORNY!!
    -

  6. #6
    PowerPoster
    Join Date
    May 2006
    Location
    Location, location!
    Posts
    2,673

    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 :-)

  7. #7

    Thread Starter
    Hyperactive Member g4hsean's Avatar
    Join Date
    May 2006
    Posts
    267

    Re: Help!On remote desktop mouse control!

    Ok sound's good ill try it out thank's.
    Coding's a Breeze if you'r at ease! GOD THATS CORNY!!
    -

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width