HI.
I don't know if I am on the right track.
After a lot ot research, I came up with this scheme.
I am stuck in get1Proc: I do not knoow how to get the handle
of the control taht sent the message.
mHook := SetWindowsHookEx(CM_VISIBLECHANGED ,@get1proc, hInstance, 0);
function get1Proc(nCode, wParam, lParam : integer) : integer; stdcall;
begin
how do i get the handle of the control that sent this message
to be used in Findcontrol()?
end;