Welcome, Guest. Please login or register.

Login with username, password and session length

 
Advanced search

1531 Posts in 287 Topics- by 2163 Members - Latest Member: fujianvnewyorkbEnglishs

May 20, 2012, 01:46:01 am
WinFlip BoardGeneralGeneralhow do you make "capture" of running applications?
Pages: [1]   Go Down
Print
Author Topic: how do you make "capture" of running applications?  (Read 2899 times)
0 Members and 1 Guest are viewing this topic.
nesher
Newbie
*
Offline Offline

Posts: 3


View Profile
« on: January 21, 2008, 15:59:38 pm »

Hi koji,
could you explain how do you make "capture" of running applications?
I have used StretchBlt to make a copy, but if source window is covered with other windows I will get an image of both windows.

Thank you,
Nesher

[Mod edit: Split into seperate thread]
« Last Edit: January 21, 2008, 18:40:05 pm by amos » Logged
amos
Global Moderator
Full Member
*****
Offline Offline

Gender: Male
Posts: 223


- Amos


View Profile
« Reply #1 on: January 21, 2008, 18:46:03 pm »

Hi Nesher,

Welcome to the board! Could you explain more clearly what you are asking? What do you mean by 'capture'?

Thanks,

- Amos
Logged

The best things in life are free: Pidgin | Firefox | GIMP | OpenOffice | PortableApps | MediaMonkey
nesher
Newbie
*
Offline Offline

Posts: 3


View Profile
« Reply #2 on: January 21, 2008, 19:49:08 pm »

Hi Amos,

If you ativate flip (press win+tab) you can see images of running applications in 3D.
To make this, winflip makes image copy of applications windows. My question is how winflip do this.

Thanks,
Nesher
Logged
amos
Global Moderator
Full Member
*****
Offline Offline

Gender: Male
Posts: 223


- Amos


View Profile
« Reply #3 on: January 22, 2008, 18:52:45 pm »

Thanks for clarification, Nesher.

I can't answer this myself (I don't know), but Koji or kHaN should be able to answer this shortly Smiley

- Amos
Logged

The best things in life are free: Pidgin | Firefox | GIMP | OpenOffice | PortableApps | MediaMonkey
koji
Developer
Administrator
Full Member
*****
Offline Offline

Gender: Male
Posts: 216


WinFlip Developer


View Profile WWW
« Reply #4 on: January 23, 2008, 03:36:11 am »

Hi nesher Smiley

Welcome to WinFlip MessageBoard Cheesy

Quote
If you ativate flip (press win+tab) you can see images of running applications in 3D.
To make this, winflip makes image copy of applications windows. My question is how winflip do this.

It's simple.
WinFlip is using the api "PrintWindow" to get the window image.
Refer the URL below.
http://msdn2.microsoft.com/en-us/library/ms535695.aspx

The api sets the image of the target window to the HDC in the parameters.

See also the sample code.(microsoft)
http://msdn2.microsoft.com/en-us/library/ms997649.aspx

Is this enough answer for your question?

Regards
Koji

@amos
Thanks for your follow-up comment and notify Smiley
Logged

nesher
Newbie
*
Offline Offline

Posts: 3


View Profile
« Reply #5 on: January 27, 2008, 01:40:29 am »

Yes, thank you Smiley

Do you know if Vista DWM uses same method?

It seems that PrintWindow gets only window image without menu, contextmenu or any other popups. Is there a solution for this?
Logged
Pages: [1]   Go Up
Print
Jump to:  

Theme orange-lt created by panic
web tracker