Results 1 to 5 of 5

Thread: Word Inside A Form

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Jun 1999
    Location
    Taipei
    Posts
    318

    Question

    Is there anyway to 'EMBED' a word window inside a form, just look like I have put a textbox inside my form?

    Or anybody have some workaround?

    Thanks

  2. #2
    Guest
    Use the SetParent api function.

    Code:
    Declare Function SetParent Lib "user32" (ByVal _
    hWndChild As Long, ByVal hWndNewParent As Long) As Long
    
    Private Sub Command1_Click()
    SetParent(Me.hWnd, Form1.hWnd)
    End Sub

  3. #3

    Thread Starter
    Hyperactive Member
    Join Date
    Jun 1999
    Location
    Taipei
    Posts
    318
    Matthew,

    Can you elaborate the steps?

  4. #4
    Guest
    What do you mean?

    Code:
    Private Sub Command1_Click()
    SetParent Me.hWnd, Form1.hWnd
    'SetParent hWndChild, hWndNewParent
    End Sub
    Take a look at this thread, it may help.

  5. #5

    Thread Starter
    Hyperactive Member
    Join Date
    Jun 1999
    Location
    Taipei
    Posts
    318

    Wink

    Thanks Matthew, the thread may be what I am looking for. I will try it.


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