C# Capture Screen behind my form without disabling areo for windows 7 -


for weeks have been looking through forums, google , other place find , far cannot find answer. no expert @ coding fun , although more frustrated still keeps me busy have come problem cannot solve , how 1 capture cursors position or screen matter withought having form in it?

things have tried:

method 1

allowtransparency = true; transparencykey = color.empty; opacity = 99; 

for work requires aero feature disabled not , not want in app

method 2:

opacity = 0; docapture(); opacity = 100; 

this causes flickering when timer intervel set 100 or intervel matter

method 3:

hide(); docapture(); show(); 

this causes same flickering above

all methods have been found on site take screenshot of screen behind form? how can capture screen without form? capture screen not current form in c#?

method 4: using magnifyer.dll causes random black capture , buggy cannot work , best post question api.

btw using ms visual c# 2010 express running windows 7 64 bit

so far best method work first 1 prefer not have use aero needs disabled , makes whole screen flicker when been disabled , enabled.

is there or there way caputer message of wm_paint message or other message before form redrawn take screenshot form redraw? if point me in right direction or provide code how beond understanding of how go , it, can capture wm_paint , wm_erasebkgnd messages unsure or go there insite apreciated

thank you

scott.


Comments

Popular posts from this blog

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

html - How to style widget with post count different than without post count -

url rewriting - How to redirect a http POST with urlrewritefilter -