|
-
Sep 24th, 2000, 09:09 PM
#1
Thread Starter
Hyperactive Member
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
-
Sep 24th, 2000, 09:35 PM
#2
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
-
Sep 24th, 2000, 09:49 PM
#3
Thread Starter
Hyperactive Member
Matthew,
Can you elaborate the steps?
-
Sep 25th, 2000, 06:31 AM
#4
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.
-
Sep 25th, 2000, 09:20 PM
#5
Thread Starter
Hyperactive Member
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|