Results 1 to 2 of 2

Thread: what mdi child has focus?

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Aug 2000
    Location
    Texas
    Posts
    313

    Question

    I have multapil forms open, and I want to know if there is a way to find out what mid child has focus? So I can use it for saveing.

  2. #2
    Guest
    Is this what you want?

    Code:
    Private Sub Command1_Click()
    MsgBox MDIForm1.ActiveForm.Caption & "|" & MDIForm1.ActiveForm.hWnd
    'reutrns caption|hwnd
    End Sub

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