PDA

Click to See Complete Forum and Search --> : Api


navram
Mar 7th, 2001, 11:28 PM
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.......

Rh0ads
Mar 29th, 2001, 02:41 PM
The following might work, it'll give you the handle of the current control.

Declare Function GetFocus Lib "user32" Alias "GetFocus" () As Long

dim hWnd&
hWnd=GetFocus