|
-
May 30th, 2006, 05:48 PM
#1
Thread Starter
Frenzied Member
how to place external window insidy my form
Hi all . I wonder how i can load a specific external applications window inside my form. I do not mean the application itself . i mean a window of that application.
-
May 30th, 2006, 06:04 PM
#2
Re: how to place external window insidy my form
Code:
Private Declare Function SetParent Lib "user32" (ByVal hWndChild As Long, ByVal hWndNewParent As Long) As Long
Usage would be SetParent [hWnd of the window you wish to have inside your program], Me.hWnd
SetParent's return value, I guess, is the original parent hWnd.
-
May 30th, 2006, 06:11 PM
#3
Thread Starter
Frenzied Member
Re: how to place external window insidy my form
 Originally Posted by Merri
Code:
Private Declare Function SetParent Lib "user32" (ByVal hWndChild As Long, ByVal hWndNewParent As Long) As Long
Usage would be SetParent [hWnd of the window you wish to have inside your program], Me.hWnd
SetParent's return value, I guess, is the original parent hWnd.
Many thanks for u reply. I got class name and title of the window . could u show me the code that puts the windows inside my form?
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
|