How can I put controls into/on other controls... ex. put a text box into a menu...
Printable View
How can I put controls into/on other controls... ex. put a text box into a menu...
I'm not if this is the same for a menu, but use the SetParent API.
What have you used the SetParent API call for?
You can use it like this:
This will make Form2 a child of Form1.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