Hi All,

I have a VB6 User Control (I'm making an Active X form that I can put in my other projects). I have another form and i'm trying to get the form to display on the User Control.

In a regular Exe project i've been using the SetParent API and using SetParent Form1.hWnd, Me.hWnd to make the contents of Form1 appear on the main screen. I can't seem to get it working on a User Control. It returns Method or Data Member Not found if I use me.hwnd. It runs but the form1 contents arent displayed if I put a fame on it and use frame1.hwnd instead.

Are there some rules about user controls that I haven't found yet or something?