Re: Screen capture

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Hi,

Thanks for the reply.

Is it not possible to display(show) second window in the background and
capture the window image and then delete the background window.

or else

Show the second window out of screen size that is if screen size is
100*100
I will display the second window from 101 to 200. If that is
possible...I can display the second window...somewhere and then i can
create the bitmap of it.

Is anyof the above things possible

Thanks alot for ur help.

Krishna.


TJ wrote:
> No. When a window isn't being shown the DC is cleared and isn't redrawn
> until it is shown again. What you could do is briefly display the window
> and capture it to a bitmap right when the application starts but then
> the user would be able to see it briefly. Another alternative is to
> include a pre-made screenshot into your app. Yet another method would be
> to have both windows be popups (at least temporarily) and then move them
> for real and not just virtually.
>
>
> krishna wrote:
> > Hi,
> >
> > I am working on some kind of transition effects, which requires
> > scrolling of windows.
> > So, the existing window should scroll to any direction (say left) and
> > the new screen should come from the Right to left.
> >
> > I am using "Create Bitmap" to capture the existing screen and using
> > BitBlt I am able to scroll the bitmap.
> >
> > The problem is How to capture the second window in to a bitmap sop that
> > I can scroll the second bitmap.
> >
> > Is there any way to capture the invisible screen.
> >
> > Is there any work around for this problem.
> >
> > Thanks a lot.
> >
> > Rama Krishna.
> >

.



Relevant Pages

  • Problem with redrawing a window after PrintWindow
    ... I'm using the API method PrintWindow to capture a bitmap of a window ...
    (microsoft.public.vb.winapi)
  • Re: using CClientDC::BitBlt() to capture only the client window
    ... It doesn't appear that you are restricting the capture area to your client window. ... update the bitmap and then refill the client area with that bitmap. ...
    (microsoft.public.vc.mfc)
  • Re: Screen Capture
    ... Plus I need to capture the window at 100% ratio. ... Private Function CapturePanelAs Bitmap ... Dim g1 As Graphics = Me.CreateGraphics ...
    (microsoft.public.dotnet.languages.vb)
  • Re: Save window image
    ... the window bitmap too soon - before it was fully updated). ... If another window application was on top of the ... How can I capture only my window? ... MVP Tips: http://www.flounder.com/mvp_tips.htm ...
    (microsoft.public.vc.mfc)
  • Re: Make web pages show up as black and white
    ... Is there any way to redirect the output of a window to a bitmap without ... You can definitely capture bitmaps of a window when ... refreshing the bitmap whenever something changes in the browser ...
    (microsoft.public.dotnet.languages.csharp)