Ver Mensaje Individual
  #1  
Antiguo 11-01-2007
genius genius is offline
Miembro
 
Registrado: may 2006
Posts: 38
Reputación: 0
genius Va por buen camino
Question Capturar control cuando muevo el raton

Alguien puede ayudarme con GetCaptureControl ..
necesito capturar el control que esta debajo de mi cursor cuando SE PRESIONA el boton izq. del mouse
o si tienen mejor idea bienvenido .. gracias !

if (msg.message = WM_LBUTTONDOWN) then
begin
Control := GetCaptureControl;
if (Control <> nil) then
begin
TEdit(Control).Color := clred;
end;

end;
Responder Con Cita