Capture part of the PocketPC-screen?

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Danyel Meyer - dialog-it GmbH (info)
Date: 02/16/04


Date: Mon, 16 Feb 2004 10:41:37 +0100

Hallo!

Being quite dissapointed of the transparent-images-issue I´m just working at
a workaround. The aim is to draw a rectangle with a SolidBrush in the needed
background-color somewhere outside the visible screen, and then drawing an
image on it, with Imageattributes.setColorKey set to pixel (1,1).
Now I need to find a possibility how to capture a given region of the screen
(through a ectgle-struure) and put it to some stream in order to reuse it in
a Bitmap constructor...

Any ideas on that?
I have found some examples on screen capturing, but they do not work for me,
as they use a handle to a control that is to be captured, but I just want to
capture some region of the screen...

Many thanks in advance,

-- 
Danyel Meyer
------------------------------------------- 
  dialog-it GmbH
  Röllinghäuser Strasse 55a
  31061 Alfeld/Leine
  Tel  +49 (0) 5181 900 814
  Fax  +49 (0) 5181 900 815
  E-Mail  danyel.meyer <at> dialog-it.de


Relevant Pages

  • Re: java.awt.Robot - new programmer, need a little help.
    ... There are other apps out there that allow a user to select an ... rectangle within the grid and auto save that image to a defined ... provides faster recording. ... Why not just capture the whole screen in the first place? ...
    (comp.lang.java.programmer)
  • Re: Capture windows area
    ... >> the mouse the area inside this rectangle is captured. ... Once the selection has been ... made then hide the full-screen window and resume capture ... window lost focus and the user didn't know about Alt+Tab to ...
    (microsoft.public.vb.winapi.graphics)
  • Re: Capture windows area
    ... > the mouse the area inside this rectangle is captured. ... A common technique is to make a screen capture of the entire desktop and display it on a full-screen borderless form, ... Once the selection has been made then hide the full-screen window and resume capture ... You may want to add an automatic unlock on a timeout though in case your window lost focus and the user didn't know about Alt+Tab to ...
    (microsoft.public.vb.winapi.graphics)
  • Re: image acquisition via screenshot
    ... it only works if I capture a rectangle inside the figure. ... I run Matlab on a remote host and export the display to my XServer. ...
    (comp.soft-sys.matlab)