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.
Secound, 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
But This works only for .net controls
I have spend hours trying to solve this, Pleeeaaasee help me
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.
Secound, 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(Handl e as intptr)
Dim c as control = control.fromhan dle(handle)
return c.focused
Dim c as control = control.fromhan dle(handle)
return c.focused
I have spend hours trying to solve this, Pleeeaaasee help me