Solved

Problem making a screenshot...

Posted on 2001-06-22
8
219 Views
Last Modified: 2010-04-02
Hi all,
      I have a nice little problem here...
I have a fct. that takes a screenshot of some window on the screen... On my machine, it works perfectly, but on other machines, also working with Win2000 Professional, the bitmaps created are all offseted... so I lose a portion of my image...

???

Can any of you help me... we have to deliver the app soon, and it's the only bug we have...
0
Comment
Question by:David MacDonald
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
8 Comments
 
LVL 30

Expert Comment

by:Axter
ID: 6219657
Please post the code.
0
 
LVL 30

Expert Comment

by:Axter
ID: 6219664
Do you have the same graphic settings on both machines?
What is the resolution for both machines?
What is the color settings for both machines?
0
 
LVL 1

Expert Comment

by:nrajan
ID: 6219775
Are you using Device Independent logic to capture the screenshot. I had the same problem when trying to print a screenshot. I solved it by sticking to Device independent code.
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 23

Expert Comment

by:chensu
ID: 6220549
HOWTO: Capture and Print an Entire Window
http://support.microsoft.com/support/kb/articles/q186/7/36.asp
0
 
LVL 1

Author Comment

by:David MacDonald
ID: 6225025
OK... thanks for the quick answers, but I figured it out myself.... I was'nt taking the 16bits/32bits colors in accounts...


Thanks...
0
 
LVL 11

Expert Comment

by:griessh
ID: 6820043
I think you forgot this question. I will ask Community Support to close it unless you finalize it within 7 days. Unless there is objection or further activity,  I will suggest refund the points and PAQ at zero points.

The link to the Community Support area is: http://www.experts-exchange.com/jsp/qList.jsp?ta=commspt

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!
======
Werner

0
 
LVL 1

Author Comment

by:David MacDonald
ID: 6821007
oops.... sorry, my fault...
0
 

Accepted Solution

by:
ComTech earned 0 total points
ID: 6837704
Hi all, points refunded and question placed in PAQ.

ComTech
CS @ EE
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Errors will happen. It is a fact of life for the programmer. How and when errors are detected have a great impact on quality and cost of a product. It is better to detect errors at compile time, when possible and practical. Errors that make their wa…
This article shows you how to optimize memory allocations in C++ using placement new. Applicable especially to usecases dealing with creation of large number of objects. A brief on problem: Lets take example problem for simplicity: - I have a G…
The viewer will learn how to use the return statement in functions in C++. The video will also teach the user how to pass data to a function and have the function return data back for further processing.
The viewer will be introduced to the member functions push_back and pop_back of the vector class. The video will teach the difference between the two as well as how to use each one along with its functionality.

695 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question