PDA

Click to See Complete Forum and Search --> : Call Frame From Other Form


g.mie
Jun 10th, 2001, 11:44 PM
Hello guys.....

I have a question here. How to view/visible Frame1 in Form2 onto Form1 by clicking CommandButton1 in Form1.

Please, help me on this.

TQ

Megatron
Jun 11th, 2001, 03:49 PM
Private Declare Function SetParent Lib "user32" Alias "SetParent" (ByVal hWndChild As Long, ByVal hWndNewParent As Long) As Long

'Usage
SetParent Form2.Frame1.hWnd, Me.hWnd

g.mie
Jun 12th, 2001, 02:49 AM
TQ...

It work well. Hope can help me next time.

:)