|
-
May 30th, 2001, 12:55 PM
#1
STuff
How can I put controls into/on other controls... ex. put a text box into a menu...
-
May 30th, 2001, 02:15 PM
#2
I'm not if this is the same for a menu, but use the SetParent API.
-
May 30th, 2001, 02:23 PM
#3
What have you used the SetParent API call for?
-
May 30th, 2001, 02:29 PM
#4
You can use it like this:
Code:
Private Declare Function SetParent Lib "user32" Alias "SetParent" (ByVal hWndChild As Long, ByVal hWndNewParent As Long) As Long
Private Sub Command1_Click()
SetParent Form1, Form2
End Sub
This will make Form2 a child of Form1.
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
|