AGB  ·  Datenschutz  ·  Impressum  







Anmelden
Nützliche Links
Registrieren
Zurück Delphi-PRAXiS Sprachen und Entwicklungsumgebungen Object-Pascal / Delphi-Language Delphi Taking screenshot behind the form using magnification
Thema durchsuchen
Ansicht
Themen-Optionen

Taking screenshot behind the form using magnification

Ein Thema von victorlus · begonnen am 9. Feb 2018 · letzter Beitrag vom 11. Feb 2018
Antwort Antwort
EWeiss
(Gast)

n/a Beiträge
 
#1

AW: Taking screenshot behind the form using magnification

  Alt 9. Feb 2018, 19:59
what your want, that?

http://www.delphipraxis.net/1393413-post19.html

greets
  Mit Zitat antworten Zitat
victorlus

Registriert seit: 6. Feb 2018
16 Beiträge
 
#2

AW: Taking screenshot behind the form using magnification

  Alt 9. Feb 2018, 20:04


So in my case I can not hide the form, I need to make it visible to the client all the time
  Mit Zitat antworten Zitat
EWeiss
(Gast)

n/a Beiträge
 
#3

AW: Taking screenshot behind the form using magnification

  Alt 9. Feb 2018, 20:11


So in my case I can not hide the form, I need to make it visible to the client all the time
i think that is only available with DirectX.
Magnification is not the way to do it and will not work in conjunction with DWM.

EDIT:
without hide or minimize your form.. see
Zitat:
Windows doesen't render invisible parts of the screen due to performance issues. At least older Windows versions didn't render invisible parts of the screen.
if the form hidden or minimized then a simple BitBlt Call should work on all Window Versions to


greets

Geändert von EWeiss (10. Feb 2018 um 08:11 Uhr)
  Mit Zitat antworten Zitat
Benutzerbild von Zacherl
Zacherl

Registriert seit: 3. Sep 2004
4.629 Beiträge
 
Delphi 10.2 Tokyo Starter
 
#4

AW: Taking screenshot behind the form using magnification

  Alt 9. Feb 2018, 20:14
So in my case I can not hide the form, I need to make it visible to the client all the time
Could you please explain what EXACTLY you are trying to achieve? There might be an easy way to work around that problem. The magnification API is a hack .. I remember reading the article you linked in your original post. The author stated that it is not possible to obtain a bitmap from the maginification window and thats why he used the (deprecated) callback to manually save the bitmap.

I guess the magnification API uses DirectX to paint the screenshot, so you might be able to intercept that process by hooking some DirectX interfaces, but thats hacky as well.
Projekte:
- GitHub (Profil, zyantific)
- zYan Disassembler Engine ( Zydis Online, Zydis GitHub)
  Mit Zitat antworten Zitat
victorlus

Registriert seit: 6. Feb 2018
16 Beiträge
 
#5

AW: Taking screenshot behind the form using magnification

  Alt 9. Feb 2018, 20:18
My goal is to be able to capture what's behind the form, which works on win7, win8, win10, if it's very difficult I can pay to do it for myself.
  Mit Zitat antworten Zitat
Rollo62

Registriert seit: 15. Mär 2007
4.174 Beiträge
 
Delphi 12 Athens
 
#6

AW: Taking screenshot behind the form using magnification

  Alt 10. Feb 2018, 05:38
Are you looking for hidden changes behind the form ?
I'm afraid Windows won't update the hidden regions at all, for a good reason: Performance.
They only might get updated when these regions get visible.

Rollo
  Mit Zitat antworten Zitat
Benutzerbild von Zacherl
Zacherl

Registriert seit: 3. Sep 2004
4.629 Beiträge
 
Delphi 10.2 Tokyo Starter
 
#7

AW: Taking screenshot behind the form using magnification

  Alt 10. Feb 2018, 14:51
My goal is to be able to capture what's behind the form, which works on win7, win8, win10, if it's very difficult I can pay to do it for myself.
Yeah I understood that, but WHY do you want to do that?
Projekte:
- GitHub (Profil, zyantific)
- zYan Disassembler Engine ( Zydis Online, Zydis GitHub)
  Mit Zitat antworten Zitat
victorlus

Registriert seit: 6. Feb 2018
16 Beiträge
 
#8

AW: Taking screenshot behind the form using magnification

  Alt 10. Feb 2018, 15:49
My goal is to be able to capture what's behind the form, which works on win7, win8, win10, if it's very difficult I can pay to do it for myself.
Yeah I understood that, but WHY do you want to do that?
I need to do this, to monitor what's behind the form
My program will work this way, visible to the client all time, I can see what is behind the form
  Mit Zitat antworten Zitat
Benutzerbild von Zacherl
Zacherl

Registriert seit: 3. Sep 2004
4.629 Beiträge
 
Delphi 10.2 Tokyo Starter
 
#9

AW: Taking screenshot behind the form using magnification

  Alt 10. Feb 2018, 15:53
My goal is to be able to capture what's behind the form, which works on win7, win8, win10, if it's very difficult I can pay to do it for myself.
Yeah I understood that, but WHY do you want to do that?
I need to do this, to monitor what's behind the form
My program will work this way, visible to the client all time, I can see what is behind the form
Mhh sorry, I guess I cant help you with that. Not sure whats the purpose of such a program. You could use MSDN-Library durchsuchenPrintWindow for specific windows (you might even be able to compose your own "desktop" by iterating through all visible windows). This should work for background windows, but might not work for minimized ones.
Projekte:
- GitHub (Profil, zyantific)
- zYan Disassembler Engine ( Zydis Online, Zydis GitHub)
  Mit Zitat antworten Zitat
Antwort Antwort


Forumregeln

Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are aus

Gehe zu:

Impressum · AGB · Datenschutz · Nach oben
Alle Zeitangaben in WEZ +1. Es ist jetzt 07:26 Uhr.
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz