Tell me how can I get the Windows handle of the active edit control........
i.e. if i am typing in ms-word or other word processing application i want
to get the handle of it's handle.......
Printable View
Tell me how can I get the Windows handle of the active edit control........
i.e. if i am typing in ms-word or other word processing application i want
to get the handle of it's handle.......
The following might work, it'll give you the handle of the current control.
Code:Declare Function GetFocus Lib "user32" Alias "GetFocus" () As Long
dim hWnd&
hWnd=GetFocus