Results 1 to 2 of 2

Thread: Api

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Mar 2001
    Location
    India
    Posts
    117

    Talking

    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.......

  2. #2
    Addicted Member
    Join Date
    Feb 2001
    Location
    Upstate NY
    Posts
    210
    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
    < o >

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width