Get the handle of a disabled item on another form.
Posted on 2005-03-07
I have a code that get the handle of controls in another form when the mouse pass over them.
Edit1.Text := IntToStr(WindowFromPoint(P));
Edit2.Text := Buff;
Window Name :=GetWindowText(StrToInt(Edit1.Text),Buff,255);
If Buff <> '' then Edit3.Text := buff;
This code doesnt work for items that are disabled...
Is it possible to see those controls that are disabled?
Thanks in advance.