Autor Beitrag
TheNeon
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 408

Windows
VS2010 C#
BeitragVerfasst: Mo 07.06.04 16:44 
Hallo zusammen,

da ich in der API nicht so flink bin, versuche ich vergeblich an den Inhalt eines Fensters (in dem Fall 95%ig eine Art Showmessage) ranzukommen. Und zwar benötige ich den enthalteten Text.

Das Handle des Fensters habe ich bereits.

DANKE


Bye,
TheNeon :wave:
MathiasSimmack
Ehemaliges Mitglied
Erhaltene Danke: 1



BeitragVerfasst: Mo 07.06.04 18:04 
In solchen Fällen wäre wichtig, wie diese Dialogbox (weil du was von "ShowMessage" sagtest) aufgebaut ist.
Liegt der Text direkt auf dem/der Canvas?
Oder ist es doch eher ein Label?

Mach dich mal über Suche in: Delphi-Forum, Delphi-Library "ENUMCHILDWINDOWS" und Suche in: Delphi-Forum, Delphi-Library "FINDWINDOW" und Co. schlau.
Motzi
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 2931

XP Prof, Vista Business
D6, D2k5-D2k7 je Prof
BeitragVerfasst: Mo 07.06.04 18:07 
Also wenns nur am erhalten des Textes liegt schau dir mal [df]WM_GETTEXT[df] und Suche in: Delphi-Forum, Delphi-Library WM_GETTEXTLENGTH an.. falls du noch das Handle brauchst kannst du dir mal meinen [url=www.x-spy.net]X-Spy[/url] anschaun.. ;)

_________________
gringo pussy cats - eef i see you i will pull your tail out by eets roots!