Click here to Skip to main content
15,914,594 members
Home / Discussions / C#
   

C#

 
AnswerRe: Command, Immediate window Pin
Ed.Poore15-Jul-06 12:59
Ed.Poore15-Jul-06 12:59 
QuestionWhats the best method to read the text value out of a specific XML element Pin
Red_Wizard_Shot_The_Food13-Jul-06 1:14
Red_Wizard_Shot_The_Food13-Jul-06 1:14 
AnswerRe: Whats the best method to read the text value out of a specific XML element Pin
stancrm13-Jul-06 1:32
stancrm13-Jul-06 1:32 
GeneralRe: Whats the best method to read the text value out of a specific XML element Pin
Red_Wizard_Shot_The_Food13-Jul-06 1:40
Red_Wizard_Shot_The_Food13-Jul-06 1:40 
GeneralRe: Whats the best method to read the text value out of a specific XML element Pin
stancrm13-Jul-06 1:49
stancrm13-Jul-06 1:49 
AnswerRe: Whats the best method to read the text value out of a specific XML element Pin
J4amieC13-Jul-06 2:36
J4amieC13-Jul-06 2:36 
GeneralRe: Whats the best method to read the text value out of a specific XML element Pin
Red_Wizard_Shot_The_Food13-Jul-06 1:40
Red_Wizard_Shot_The_Food13-Jul-06 1:40 
QuestionNeed Suggestion about handling of screen updates Pin
Rashid.Mahmood13-Jul-06 1:11
Rashid.Mahmood13-Jul-06 1:11 
Hi All,

I have a Client/Server App like VNC developed in C# where server sends the updated regions of its screen as compressed buffer to connected client. Client upon receiving the updates draw them approp. I have used windows hooks to inform my server app about the updates on the screen using windows messages.

I have added MessageFilter to my server app thread to receive my custom messages of screen updates from my hooking dll. The problem is that currently i m using an ordinary approach where i creates a rectangle and make union of it with other incomming rectangular region updates from dll. On the other side i have a thread that receives the final rectangle, clears the rectangle varibale of the messagefilter, take a screenshot of that final rectangle, compress it and send it to the client. This process repeats and each unioned rectangle is captured and sent to the client.

My problem is that in this approach a lot of updates like menu selection, text cursor, text etc. are missed.

Can somebody give me suggestion how can i improve this.

Another approach is to use Win32 Region where each rectangle is added to the Region and hence no chance of missing rectangle. But i need a pseudocode or code snippet if i want to use this one.

Thanx.

"Imagination is much more important than implementation"
AnswerRe: Need Suggestion about handling of screen updates Pin
Ed.Poore15-Jul-06 13:01
Ed.Poore15-Jul-06 13:01 
GeneralRe: Need Suggestion about handling of screen updates Pin
Rashid.Mahmood16-Jul-06 20:46
Rashid.Mahmood16-Jul-06 20:46 
GeneralRe: Need Suggestion about handling of screen updates Pin
Ed.Poore16-Jul-06 21:23
Ed.Poore16-Jul-06 21:23 
QuestionProblem with reading char from log file Pin
Yanshof13-Jul-06 1:02
Yanshof13-Jul-06 1:02 
AnswerRe: Problem with reading char from log file Pin
stancrm13-Jul-06 1:13
stancrm13-Jul-06 1:13 
GeneralThat exactly what i do - and its not working. Pin
Yanshof13-Jul-06 2:30
Yanshof13-Jul-06 2:30 
QuestionEscaping $ in code snippet Pin
Colin Angus Mackay13-Jul-06 0:29
Colin Angus Mackay13-Jul-06 0:29 
AnswerWild guess worked Pin
Colin Angus Mackay13-Jul-06 0:34
Colin Angus Mackay13-Jul-06 0:34 
QuestionAllowing a webservice to invoke a function from a windows application Pin
ZeinaBaG13-Jul-06 0:23
ZeinaBaG13-Jul-06 0:23 
Questionbinlllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllll Pin
arun.m13-Jul-06 0:19
arun.m13-Jul-06 0:19 
AnswerRe: binlllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllll Pin
Corinna John13-Jul-06 0:39
Corinna John13-Jul-06 0:39 
AnswerRe: binl... Pin
Ravi Bhavnani13-Jul-06 2:48
professionalRavi Bhavnani13-Jul-06 2:48 
AnswerRe: binlllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllll Pin
LongRange.Shooter13-Jul-06 3:33
LongRange.Shooter13-Jul-06 3:33 
QuestionProblem with C++ wchar_t To C# ... Pin
SD312-Jul-06 23:56
SD312-Jul-06 23:56 
Questionreadonly List members Pin
GDavy12-Jul-06 23:36
GDavy12-Jul-06 23:36 
AnswerRe: readonly List members [modified] Pin
Roger Alsing13-Jul-06 0:01
Roger Alsing13-Jul-06 0:01 
QuestionDateTime from String Pin
V.12-Jul-06 23:32
professionalV.12-Jul-06 23:32 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.