Hallo. <br>
Ich versuche eine Liste aller Fenster-Captions zu erstellen. <br>
Dazu verwende ich die Fkt. EnumWindows. <br>
In der Callback-Fkt. versuche ich mit der folgenden Zeile die Message-Prozedur des Fensters zu bekommen, um ihm die Meldung WM_GETTEXT zu senden. <br> <br>
...GetWindowLong(Handle, GWL_WNDPROC); <br>
Beim Compilieren meldet der Compiler den Fehler : <br>
"Inkompatible Typen: 'Integer' und 'Pointer'". Dabei steht der Cursor hinter GWL_WNDPROC. <br> <br>
Was mache ich falsch? <br> <br>
Gibt es vielleicht eine andere Möglichkeit, die Captions der Fenster zu bekommen? <br>
Ein normales Gettext fkt. nicht mit Fenstern anderer Application. <br> <br>
Danke, <br>
kh
Ich versuche eine Liste aller Fenster-Captions zu erstellen. <br>
Dazu verwende ich die Fkt. EnumWindows. <br>
In der Callback-Fkt. versuche ich mit der folgenden Zeile die Message-Prozedur des Fensters zu bekommen, um ihm die Meldung WM_GETTEXT zu senden. <br> <br>
...GetWindowLong(Handle, GWL_WNDPROC); <br>
Beim Compilieren meldet der Compiler den Fehler : <br>
"Inkompatible Typen: 'Integer' und 'Pointer'". Dabei steht der Cursor hinter GWL_WNDPROC. <br> <br>
Was mache ich falsch? <br> <br>
Gibt es vielleicht eine andere Möglichkeit, die Captions der Fenster zu bekommen? <br>
Ein normales Gettext fkt. nicht mit Fenstern anderer Application. <br> <br>
Danke, <br>
kh
Comment