G
gilshallem
Hi i am trying to find the handle of the current focused control in
all the running application.
I tried GETFOCUS() but it gave the the handle only of the current
thread
There are 2 options of solving it.
One, is to find an API function that do it.
Secount, is to find a function that detarmin if a control is focused
the i can make a loop checking all the controls.
Please halp me fint one of this functions.
BTW: I allready tried
Function Isfocused(Handle as intptr)
Dim c as control = control.fromhandle(handle)
Return c.focused
End Function
But This works only for .net controls
I have spend hours trying to solve this, Pleeeaaasee help me
all the running application.
I tried GETFOCUS() but it gave the the handle only of the current
thread
There are 2 options of solving it.
One, is to find an API function that do it.
Secount, is to find a function that detarmin if a control is focused
the i can make a loop checking all the controls.
Please halp me fint one of this functions.
BTW: I allready tried
Function Isfocused(Handle as intptr)
Dim c as control = control.fromhandle(handle)
Return c.focused
End Function
But This works only for .net controls
I have spend hours trying to solve this, Pleeeaaasee help me