Ver Mensaje Individual
  #2  
Antiguo 05-11-2013
delphos1942 delphos1942 is offline
Registrado
NULL
 
Registrado: nov 2013
Posts: 3
Reputación: 0
delphos1942 Va por buen camino
Ok, ya lo he conseguido, el tipo hwnd es en realidad un entero sin signo por lo que

var
handle: longword;
ventana:hwnd

begin
handle:=strtoint('$'+stringdondeestaelhexadecimal);
ventana:= HWND(handle);
end


ya tengo un handle a esa ventana.

PEROOO

no logro que me lea el titulo de la ventana.

getwindowtext(ventana,titulo,10)

siendo ventana un hwnd y titulo un pchar.
Responder Con Cita