CodedK
asked on
Get the handle of a disabled item on another form.
Hi.
I have a code that get the handle of controls in another form when the mouse pass over them.
GetCursorPos(P);
Edit1.Text := IntToStr(WindowFromPoint(P ));
GetClassName(StrToInt(Edit 1.Text),Bu ff,255);
Edit2.Text := Buff;
Window Name :=GetWindowText(StrToInt(E dit1.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.
I have a code that get the handle of controls in another form when the mouse pass over them.
GetCursorPos(P);
Edit1.Text := IntToStr(WindowFromPoint(P
GetClassName(StrToInt(Edit
Edit2.Text := Buff;
Window Name :=GetWindowText(StrToInt(E
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.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
No problem, and no rush....
Russell
Russell
ASKER
Thank u very much Russell.
Works perfect... :)
I'll get back for the other question in a while..
Works perfect... :)
I'll get back for the other question in a while..
ASKER
I'll give it a try tomorrow.