Forum: Sonstige Fragen zu Delphi
Delphi
by Andy090778,
4. Feb 2008
ICQ5.1 benutzt auch die Standard Windows Handles
Forum: Sonstige Fragen zu Delphi
Delphi
by Andy090778,
3. Feb 2008
Ich hab icq2003, da geht das perfekt.
Wenn Du eh nur ein Chatprogramm als Interface benutzt, spielt es keine Rolle welche Version es ist.
Nimm einfach die alte version und Dein Problem hat sich sofort gelöst :-)
Sorry war das WE nicht am PC.
Andreas
Forum: Sonstige Fragen zu Delphi
Delphi
by Andy090778,
30. Jan 2008
hmm? Mit meiner icq version funktioniert das Prima. XXX ersetzt Du mit dem Namen des Chatters.
Mit WinSpy konnte ich in 30 Sekunden die Klasse des Texteingabefelds ermitteln: RichEdit20A
Im Prinzip musst Du so nur noch das übergeordnete Fenster finden.
Wo genau ist das Problem??
Forum: Sonstige Fragen zu Delphi
Delphi
by Andy090778,
29. Jan 2008
procedure SendText;
var
Text: String;
EditHandle, WindowHandle: HWND;
begin
Text := 'Hallo';
WindowHandle := FindWindow(nil, 'XXX - Nachrichtensitzung');
EditHandle := FindWindowEx(WindowHandle, 0, 'RichEdit20A', nil);
SendMessage(EditHandle, WM_SETTEXT, 0, Integer(PChar(Text)));
end;