|
-
Oct 28th, 2002, 06:29 AM
#1
Thread Starter
Fanatic Member
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
-
Oct 28th, 2002, 11:51 AM
#2
PowerPoster
-------
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.
-
Oct 28th, 2002, 12:18 PM
#3
Hyperactive Member
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.
-
Oct 28th, 2002, 12:36 PM
#4
PowerPoster
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.
-
Oct 29th, 2002, 04:10 AM
#5
Thread Starter
Fanatic Member
#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
-
Oct 30th, 2002, 04:59 AM
#6
Thread Starter
Fanatic Member
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
-
Oct 30th, 2002, 05:28 AM
#7
So Unbanned
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
-
Oct 31st, 2002, 05:01 AM
#8
Thread Starter
Fanatic Member
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|