Results 1 to 8 of 8

Thread: Searching which area on the screen is repainting

  1. #1

    Thread Starter
    Fanatic Member jian2587's Avatar
    Join Date
    Aug 2000
    Location
    I bet u need a fusion powered shuttle to reach my place...
    Posts
    963

    Searching which area on the screen is repainting

    Basically I just wanna know which area of the screen is repainting
    particularly that area's coordinates.

    Well, I wanna do this because I will be doing a remote desktop,
    and for limited bandwidth machines such as those dial-up ones,
    I can't be sending the whole screen all the time. It's too slow.
    Even if compressed
    So, that's why I wanna know which area is repainting and I'll
    just send that part to the client.

    Thx!
    ASM,C,C++,BASIC,VB,JAVA,VBS,HTML,ASP,PHP,mySQL,VB.NET,MATLAB
    Programming is fun, but only if you're not on a tight deadline
    So I consider all those working engineers sad people

    VB FTP class
    3 page PHP crash course
    Crash Course on DX9 Managed with VB.NET covering basics till terrain creation

  2. #2
    PowerPoster
    Join Date
    Jul 2001
    Location
    Tucson, AZ
    Posts
    2,166
    -------
    I just wanna know which area of the screen is repainting
    -------

    Since you control the repainting it is your responsibility to define and repaint whatever coordinates on the remote machine.
    You may want to define a generic template that would be for any screen and then repaint only those coordinates as the "I assume server" needs to repaint those areas in the client.

  3. #3
    Hyperactive Member spoiledkid's Avatar
    Join Date
    Oct 2002
    Location
    Canada
    Posts
    437
    I can't imagine how would you do that.

    I suppose all monitors use Raster Scanning Algorithms to repaint/refresh the contents of the screen according to which even if you have to repaint only some specific part if will repaint the entire screen. None of them uses a Vector scanning algorithm which actually repaints only the required area.

    I am sorry if I misunderstood your question.
    If i did not then i am open for debate.


  4. #4
    PowerPoster
    Join Date
    Jul 2001
    Location
    Tucson, AZ
    Posts
    2,166
    spoiledkid

    Wasn't sure your comment was to me or jian2587.

    In my reply I made two assumptions.

    1. That the remote server was communicating with the client programs.
    2. The client could be directed by the server as to when to repaint.

    If this is the case, areas (regions) could be defined within the client. Say a "select/case" for painting. The server could then send a message to the client and the client would initiate the painting and repaint only that region.

  5. #5

    Thread Starter
    Fanatic Member jian2587's Avatar
    Join Date
    Aug 2000
    Location
    I bet u need a fusion powered shuttle to reach my place...
    Posts
    963
    #1 of All,Guys, thx 'lot

    Well, I mentioned that I'm doing a remote desktop.
    So I gotta send it to the client wut's happening on the server
    screen all the time.
    And neither it's me controlling the repainting. Don't care who
    paints it, as long as there's changes on the screen, I want to
    send that part that's repainting of the screen only to the client
    as to speed up stuffs since I don't have to send the whole
    screen to the user, which lots of data are redundant.

    For DSLers, this might be not a problem, but how'bout the Dial-
    Uppers?

    Hope u guys got me now...
    ASM,C,C++,BASIC,VB,JAVA,VBS,HTML,ASP,PHP,mySQL,VB.NET,MATLAB
    Programming is fun, but only if you're not on a tight deadline
    So I consider all those working engineers sad people

    VB FTP class
    3 page PHP crash course
    Crash Course on DX9 Managed with VB.NET covering basics till terrain creation

  6. #6

    Thread Starter
    Fanatic Member jian2587's Avatar
    Join Date
    Aug 2000
    Location
    I bet u need a fusion powered shuttle to reach my place...
    Posts
    963
    Hello?
    ASM,C,C++,BASIC,VB,JAVA,VBS,HTML,ASP,PHP,mySQL,VB.NET,MATLAB
    Programming is fun, but only if you're not on a tight deadline
    So I consider all those working engineers sad people

    VB FTP class
    3 page PHP crash course
    Crash Course on DX9 Managed with VB.NET covering basics till terrain creation

  7. #7
    So Unbanned DiGiTaIErRoR's Avatar
    Join Date
    Apr 1999
    Location
    /dev/null
    Posts
    4,111
    Well........


    'declare getpixel API

    For x = 0 to picture1.scalewidth - 1
    For y = 0 to picture1.scaleheight - 1
    If GetPixel(picture1.hdc,x,y) <> getpixel(picture2.hdc,x,y) then
    'do code

    Exit For ' important
    Exit For ' and more importantly
    Next
    Next

  8. #8

    Thread Starter
    Fanatic Member jian2587's Avatar
    Join Date
    Aug 2000
    Location
    I bet u need a fusion powered shuttle to reach my place...
    Posts
    963
    To get around 24 FPS, I think that'll require IBM's Blue Fritz
    or Deep Blue...
    Anyway thx!
    ASM,C,C++,BASIC,VB,JAVA,VBS,HTML,ASP,PHP,mySQL,VB.NET,MATLAB
    Programming is fun, but only if you're not on a tight deadline
    So I consider all those working engineers sad people

    VB FTP class
    3 page PHP crash course
    Crash Course on DX9 Managed with VB.NET covering basics till terrain creation

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