Page 1 of 2
					
				Detect ScreenShot
				Posted: Fri Jun 25, 2010 6:20 pm
				by Kwai chang caine
				Hello at all
I'm ask a question to me..in my head.
But the problem, it's that when i ask the question myself...i have never answer  

It's the reason why, i ask the same question at you all, who have always the answers   
 
  
Believe you, that it's possible, to detect a screenshot make by another application ????
Good day
 
			
					
				Re: Detect ScreenShot
				Posted: Fri Jun 25, 2010 7:34 pm
				by Josh
				- register your program in the chain of clipboardviewers
- scan the windows callback to the message #WM_DRAWCLIPBOARD
- look what is in the clipboard
details are your problem  

 
			
					
				Re: Detect ScreenShot
				Posted: Fri Jun 25, 2010 8:13 pm
				by Kwai chang caine
				Hello JOSH
You mean that all the ScreenShot program use always ClipBoard ???  :roll:
Are you sure ????
Because i have a program freeware "SnapShot" who make ScreenShot and ask if i want save it on the drive ....
			 
			
					
				Re: Detect ScreenShot
				Posted: Fri Jun 25, 2010 8:24 pm
				by Josh
				you are right. i didn't read your question exactly enough and didn't check, you are speaking from other applications.
			 
			
					
				Re: Detect ScreenShot
				Posted: Fri Jun 25, 2010 8:40 pm
				by codewalker
				anti keyloggers do it all the time . . . .
			 
			
					
				Re: Detect ScreenShot
				Posted: Sat Jun 26, 2010 12:17 am
				by netmaestro
				I would say not, mainly because there are so many ways to go about it.
			 
			
					
				Re: Detect ScreenShot
				Posted: Sat Jun 26, 2010 2:06 am
				by Mr Coder
				Kwaï chang caïne wrote:detect a screenshot make by another application ????
No way. Any app can examine the screen at any time and record the pixels, without using the clipboard.
 
			
					
				Re: Detect ScreenShot
				Posted: Sat Jun 26, 2010 2:42 am
				by SFSxOI
				Good question Kwai, i'd like to know this too.
			 
			
					
				Re: Detect ScreenShot
				Posted: Sat Jun 26, 2010 12:14 pm
				by ar-s
				Don't you just have to clean the clipboard each xx ms ?
			 
			
					
				Re: Detect ScreenShot
				Posted: Sat Jun 26, 2010 12:37 pm
				by Mr Coder
				How is cleaning the clipboard going to help?
			 
			
					
				Re: Detect ScreenShot
				Posted: Sat Jun 26, 2010 12:58 pm
				by DarkDragon
				Sure, detecting a screenshot could be possible if you are rendering the desktop through your own codec. Haven't you ever wanted to take a screenshot from a movie and after inserting it in paint or such the screenshot still changes to the movie?
			 
			
					
				Re: Detect ScreenShot
				Posted: Sat Jun 26, 2010 1:17 pm
				by ar-s
				Mr Coder wrote:How is cleaning the clipboard going to help?
Maybe the screenshot's software use clipboard to take the shot and save picture after that ?
 
			
					
				Re: Detect ScreenShot
				Posted: Sat Jun 26, 2010 2:33 pm
				by SFSxOI
				I think it would be more a matter of detecting when that other application was doing a screen shot rather then detecting the method used to facilitate the screen shot. In other words, is there some sort of message to be intercepted from the application to the system that says its taking a screen shot.
			 
			
					
				Re: Detect ScreenShot
				Posted: Sat Jun 26, 2010 2:57 pm
				by Mr Coder
				There's plenty of code samples in these forums that show how to take a screenshot without using the clipboard and without system messages.
			 
			
					
				Re: Detect ScreenShot
				Posted: Sat Jun 26, 2010 8:20 pm
				by SFSxOI
				Mr Coder wrote:There's plenty of code samples in these forums that show how to take a screenshot without using the clipboard and without system messages.
Perhaps I missed something, but he doesn't want to take a screen shot, he wants to detect when another appliction takes a screen shot.
Like where he said in his original post > "Believe you, that it's possible, to 
detect a screenshot make by another application ????" (ya kinda need to understand "Kwai-wan-neese" 

 )