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 737323
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T07:42:29+00:00 2026-05-14T07:42:29+00:00

So, I have a screen capture utility (it takes full screen shots and saves

  • 0

So, I have a screen capture utility (it takes full screen shots and saves it to png files) I’ve written, and it uses SM_CXVIRTUALSCREEN and SM_CYVIRTUALSCREEN to determine the width and height of the desktop.

I then get the desktop DC and copy out the bits and save them as png.

    BitBlt(
      backDC, 0, 0,
      backBufferCX, backBufferCX,
      desktopDC, X_SRC, 0, SRCCOPY );

Here X_SRC is usually 0, UNLESS THE DESKTOP HAS BEEN EXTENDED “TO THE LEFT”. In that case it needs to be -1280px, for example, if the left monitor measures 1280px.

How can I determine if the desktop’s starting point is negative (if the user has extended his desktop to the left?)

  • 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-05-14T07:42:29+00:00Added an answer on May 14, 2026 at 7:42 am

    You can obtain the positioning information for all of the monitors via the EnumDisplayMonitors method.

    Or, if you only care about the corners of the virtual screen, you can pass SM_XVIRTUALSCREEN and SM_YVIRTUALSCREEN into the GetSystemMetrics method.

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

Sidebar

Related Questions

I have a 3rd party web page screen capture DLL from http://websitesscreenshot.com/ that lets
I wrote a little utility class that saves BitmapSource objects to image files. The
I have an applescript that does screen capture of a specific monitor (in a
I have created .mov video file with my screen(desktop) capture software and I want
I have a application that will capture the screen and I want to write
Is it possible in Android to capture screen rotate events but not actually have
i am writing a screen capture application in Qt4 with c++. I have a
I have a screen with a ListBox of items. The item template contains an
I have a screen with pivot functionality, and I'd very much like just one
I have a screen with two RadioButtonField objects. By default, the first RadioButtonField shows

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.