AGB  ·  Datenschutz  ·  Impressum  







Anmelden
Nützliche Links
Registrieren
Thema durchsuchen
Ansicht
Themen-Optionen

ICQ Eingabe-Edit Handle

Ein Thema von Neutral General · begonnen am 6. Dez 2004 · letzter Beitrag vom 7. Dez 2004
Antwort Antwort
Seite 1 von 2  1 2      
Benutzerbild von Neutral General
Neutral General

Registriert seit: 16. Jan 2004
Ort: Bendorf
5.219 Beiträge
 
Delphi 10.2 Tokyo Professional
 
#1

ICQ Eingabe-Edit Handle

  Alt 6. Dez 2004, 15:52
Wie kommt man an das Handle von dem (einem) ICQ-Nachrichten-Eingabe-Edit ?Ich habs bisher so versucht :

Delphi-Quellcode:
var ICQEdit, ICQHandle : THandle;

procedure TForm1.Button1.Click(Sender : TObject);
begin
ICQEdit := FindWindowEx(ICQHandle,0,'TEdit',nil); // Handle des ICQ Fensters ist bekannt
end;
Ich bekomm das Handle einfach nicht
Michael
"Programmers talk about software development on weekends, vacations, and over meals not because they lack imagination,
but because their imagination reveals worlds that others cannot see."
  Mit Zitat antworten Zitat
Dax
(Gast)

n/a Beiträge
 
#2

Re: ICQ Eingabe-Edit Handle

  Alt 6. Dez 2004, 15:54
Bist du dir sicher, das das Eingabe-Fenster von ICQ vom Typ TEdit ist und ICQ mit DElphi entwickelt wurde? Da würde ich als erstes ansetzen. Eventuell einee GUID reinschreiben und mit EnumChidWindows alle Subcontrols durchgehen, dann mit GetWindowText nach der GUID suchen. So kannst du todsicher dein Handle kriegen
  Mit Zitat antworten Zitat
Benutzerbild von Neutral General
Neutral General

Registriert seit: 16. Jan 2004
Ort: Bendorf
5.219 Beiträge
 
Delphi 10.2 Tokyo Professional
 
#3

Re: ICQ Eingabe-Edit Handle

  Alt 6. Dez 2004, 15:56
GUID ?
Und ich bin aus irgendeinem Grund kein großer Freund von EnumChildWindows
Michael
"Programmers talk about software development on weekends, vacations, and over meals not because they lack imagination,
but because their imagination reveals worlds that others cannot see."
  Mit Zitat antworten Zitat
Dax
(Gast)

n/a Beiträge
 
#4

Re: ICQ Eingabe-Edit Handle

  Alt 6. Dez 2004, 15:58
GUID = Globally Unique IDentifier, mit Strg+Shift+G in der Delphi-IDE kannst du eigene erstellen (werden normalerweise für Interfaces genutzt).
  Mit Zitat antworten Zitat
Benutzerbild von Neutral General
Neutral General

Registriert seit: 16. Jan 2004
Ort: Bendorf
5.219 Beiträge
 
Delphi 10.2 Tokyo Professional
 
#5

Re: ICQ Eingabe-Edit Handle

  Alt 6. Dez 2004, 16:00
Zitat von Dax:
GUID = Globally Unique IDentifier, mit Strg+Shift+G in der Delphi-IDE kannst du eigene erstellen (werden normalerweise für Interfaces genutzt).
Strg+Shift+G bewirkt (bei Delphi3) gar nichts
Michael
"Programmers talk about software development on weekends, vacations, and over meals not because they lack imagination,
but because their imagination reveals worlds that others cannot see."
  Mit Zitat antworten Zitat
Benutzerbild von Neutral General
Neutral General

Registriert seit: 16. Jan 2004
Ort: Bendorf
5.219 Beiträge
 
Delphi 10.2 Tokyo Professional
 
#6

Re: ICQ Eingabe-Edit Handle

  Alt 6. Dez 2004, 16:14
Ich hab meine Meinung über EnumChildWindow geändert
Michael
"Programmers talk about software development on weekends, vacations, and over meals not because they lack imagination,
but because their imagination reveals worlds that others cannot see."
  Mit Zitat antworten Zitat
Benutzerbild von Ultimator
Ultimator

Registriert seit: 17. Feb 2004
Ort: Coburg
1.860 Beiträge
 
FreePascal / Lazarus
 
#7

Re: ICQ Eingabe-Edit Handle

  Alt 6. Dez 2004, 18:02
Das Feld von einer ICQ-Nachrichtensitzung, in dem man seinen zu sendenden Text eingibt ist von der Klasse Static.
Julian J. Pracht
  Mit Zitat antworten Zitat
Benutzerbild von Neutral General
Neutral General

Registriert seit: 16. Jan 2004
Ort: Bendorf
5.219 Beiträge
 
Delphi 10.2 Tokyo Professional
 
#8

Re: ICQ Eingabe-Edit Handle

  Alt 6. Dez 2004, 18:26
Nein von der Klasse 'Richedit20A'
Michael
"Programmers talk about software development on weekends, vacations, and over meals not because they lack imagination,
but because their imagination reveals worlds that others cannot see."
  Mit Zitat antworten Zitat
Benutzerbild von SirThornberry
SirThornberry
(Moderator)

Registriert seit: 23. Sep 2003
Ort: Bockwen
12.235 Beiträge
 
Delphi 2006 Professional
 
#9

Re: ICQ Eingabe-Edit Handle

  Alt 6. Dez 2004, 18:46
Ich denk mal das hängt von der ICQ-Version ab welche hier noch keine Erwähnung fand. Am besten man nimmt einfach ein entsprechendes Tool und lässt sich einfach anzeigen welche Klasse das Control hat (Luckie hat da nen programm geschrieben und auch ich hab schonmal "Componentfinder" gepostet mit dem sowas auch möglich ist)
Jens
Mit Source ist es wie mit Kunst - Hauptsache der Künstler versteht's
  Mit Zitat antworten Zitat
Benutzerbild von Neutral General
Neutral General

Registriert seit: 16. Jan 2004
Ort: Bendorf
5.219 Beiträge
 
Delphi 10.2 Tokyo Professional
 
#10

Re: ICQ Eingabe-Edit Handle

  Alt 6. Dez 2004, 18:52
Ich hab einfach EnumChildWindow benutzt damit hab ich die richtige Klasse rausgefunden.
Michael
"Programmers talk about software development on weekends, vacations, and over meals not because they lack imagination,
but because their imagination reveals worlds that others cannot see."
  Mit Zitat antworten Zitat
Antwort Antwort
Seite 1 von 2  1 2      


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 08:25 Uhr.
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz