Autor Beitrag
Jakob Schöttl
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 929
Erhaltene Danke: 1


Delphi 7 Professional
BeitragVerfasst: Mo 27.11.06 17:00 
Hi,
Ich hab schon öfter bei Programmen gesehen, dass man zB. ein Fenster oder eine Toolbar einer anderen Anwendung mit einem Rahmen "einfangen" oder auswählen kann.
Was ich meine ist zB. bei HyperSnap oder solchen Progs, wo man alle Handles vom ganzen computer rausfinden kann.

Hoffentlich wisst ihr was ich meine, ich kann leider nicht mal ein Bildschirm-Foto machen.

Ich wüsste gern, wie man das macht, eben diesen Rahmen über die verschiedenen Objecte auf dem Bildschirm, in delphi implementiert.
Einloggen, um Attachments anzusehen!
Gausi
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 8554
Erhaltene Danke: 481

Windows 7, Windows 10
D7 PE, Delphi XE3 Prof, Delphi 10.3 CE
BeitragVerfasst: Mo 27.11.06 17:10 
Luckies WindowInfo kann das auch, und da ist der Source dabei. Du musst dich da zwar durch NonVCL quälen, aber das wäre ein Anfang ;-)

www.michael-puff.de/...er/Delphi/Programme/

_________________
We are, we were and will not be.
Jakob Schöttl Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 929
Erhaltene Danke: 1


Delphi 7 Professional
BeitragVerfasst: Mo 27.11.06 17:13 
Danke Gausi, das wird wohl nicht so leicht sein.

Ich bei meinem Programm soll nähmlich der Benutzer das Handle vom URL-Eingabefeld des Browsers festlegen können, und mein Prog öffnet dann im gleichen Fenster auf Klick das nächste Bild aus einer Bildergalerie...
BenBE
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 8721
Erhaltene Danke: 191

Win95, Win98SE, Win2K, WinXP
D1S, D3S, D4S, D5E, D6E, D7E, D9PE, D10E, D12P, DXEP, L0.9\FPC2.0
BeitragVerfasst: Di 28.11.06 09:21 
Allgemein ausgedrückt funktioniert das so:
1. Suche alle Fenster
2. Filtere Alle Fenster, die nicht im Rahmen liegen (nicht vom berührt werden)

_________________
Anyone who is capable of being elected president should on no account be allowed to do the job.
Ich code EdgeMonkey - In dubio pro Setting.