genius
11-01-2007, 14:55:29
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;
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;