Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7916627
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T14:52:39+00:00 2026-06-03T14:52:39+00:00

I am creating a app to take a screen shot of a scrolling window

  • 0

I am creating a app to take a screen shot of a scrolling window using C# .NET 4.

I have approached this by using WINAPI SendMessage with WM_MOUSEWHEEL to move down 1 line at a time and take a screen shot of each line.

To detect if I have reached the bottom I compare the last 2 images taken, if they are the same , I have reached the bottom.

The problem comes when the last WM_MOUSEWHEEL is not a full line.

For example:
Window is 95px high
each line is 10px

I will end up with 10 images each 10px high to splice but the last one is going to be too big which ends up duplicating (in this example) the area between 85 and 90px

Is there any other way using WINAPI to detect how many pixels has been scrolled or any other suggestions on the approach taken?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-03T14:52:41+00:00Added an answer on June 3, 2026 at 2:52 pm

    Look at GetScrollPosition and GetScrollRange

    I think those API calls can provide you with the information you need.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am creating a real estate app. I have a screen which displays a
i am creating an app in which i want to take xmldata using webservices.
I'm creating an app that lets users take and store photos in a Core
Hi i'm creating an app which have shopping cart and payment done via paypal
I am creating an app using iOS 5 SDK. I managed to push views
I am creating an App with following design: I have a UITableView with custom
I'm creating an app that has a database using sqlite. On my app I've
I am new to iPhone development. I am creating an app where I take
I am creating an app at the moment which take a picture of a
I'm creating an app that will have a fair amount of users. Everytime someone

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.