Click here to Skip to main content
15,910,130 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: CFormView resizing Pin
Roger Allen22-Apr-02 21:51
Roger Allen22-Apr-02 21:51 
GeneralRe: CFormView resizing Pin
ErrN023-Apr-02 1:12
ErrN023-Apr-02 1:12 
GeneralGet an HICON from a running process Pin
22-Apr-02 13:33
suss22-Apr-02 13:33 
GeneralRe: Get an HICON from a running process Pin
Paul M Watt22-Apr-02 13:48
mentorPaul M Watt22-Apr-02 13:48 
GeneralRe: Get an HICON from a running process Pin
22-Apr-02 16:35
suss22-Apr-02 16:35 
GeneralHigh-speed screen captures Pin
twomagiclovers22-Apr-02 12:37
twomagiclovers22-Apr-02 12:37 
GeneralRe: High-speed screen captures Pin
Christian Graus22-Apr-02 12:41
protectorChristian Graus22-Apr-02 12:41 
GeneralRe: High-speed screen captures Pin
Paul M Watt22-Apr-02 14:00
mentorPaul M Watt22-Apr-02 14:00 
The main problem in your slowness extends from the fact that the transfer of the bits from video memory to system memory is very slow. I was able to speed up the screen capture with DirectX, however I was only able to shave off about 200 milliseconds off of a 1.3 second screen capture process.

You are not going to get much faster with the technique that you are using. You may want to look at how NetMeeting does this. They create a second display driver that is able to capture the updates to the screen before they happen, and log the deltas in the bitmap. Then operate only on the deltas.

There is a function that will allow you to detect the rectangle of the changes for a DC, but it only works on memory DCs, and I cannot remember the name of it right now.


Build a man a fire, and he will be warm for a day
Light a man on fire, and he will be warm for the rest of his life!

QuestionClass Function? Pin
Loli1022-Apr-02 10:24
Loli1022-Apr-02 10:24 
AnswerRe: Class Function? Pin
Chris Losinger22-Apr-02 10:37
professionalChris Losinger22-Apr-02 10:37 
AnswerRe: Class Function? Pin
Ravi Bhavnani22-Apr-02 11:09
professionalRavi Bhavnani22-Apr-02 11:09 
GeneralRe: Class Function? Pin
24-Apr-02 11:04
suss24-Apr-02 11:04 
GeneralFindFirstFile() Pin
hph22-Apr-02 10:12
hph22-Apr-02 10:12 
GeneralRe: FindFirstFile() Pin
23-Apr-02 0:10
suss23-Apr-02 0:10 
QuestionVC6 and VS.NET installed on the same computer? Pin
Rickard Andersson2022-Apr-02 9:48
Rickard Andersson2022-Apr-02 9:48 
AnswerRe: VC6 and VS.NET installed on the same computer? Pin
Tim Smith22-Apr-02 9:55
Tim Smith22-Apr-02 9:55 
AnswerRe: VC6 and VS.NET installed on the same computer? Pin
Jason Hooper22-Apr-02 9:57
Jason Hooper22-Apr-02 9:57 
AnswerRe: VC6 and VS.NET installed on the same computer? Pin
Matt Newman22-Apr-02 13:04
Matt Newman22-Apr-02 13:04 
GeneralCreate Objects Visio Like Pin
22-Apr-02 9:23
suss22-Apr-02 9:23 
GeneralRe: Create Objects Visio Like Pin
Christian Graus22-Apr-02 12:42
protectorChristian Graus22-Apr-02 12:42 
GeneralOops! I did it again. Pin
Kevnar22-Apr-02 7:09
Kevnar22-Apr-02 7:09 
GeneralRe: Oops! I did it again. Pin
Mike Zinni22-Apr-02 7:15
Mike Zinni22-Apr-02 7:15 
GeneralRe: Oops! I did it again. Pin
Kevnar22-Apr-02 7:20
Kevnar22-Apr-02 7:20 
GeneralRe: Oops! I did it again. Pin
Nish Nishant22-Apr-02 7:37
sitebuilderNish Nishant22-Apr-02 7:37 
GeneralRe: Oops! I did it again. Pin
Paul M Watt22-Apr-02 7:17
mentorPaul M Watt22-Apr-02 7:17 

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.