Click to See Complete Forum and Search --> : Container HWND


Sky1000
October 21st, 1999, 05:28 PM
I've created an ActiveX control using the ALT Project Wizard in VC 6.0. It works very well in the ActiveX Test Container, but does not work with Visual Basic(5.0-6.0). With VB the control cannot get the container HWND, I've tried GetParent(), GetWindow(), and a few other things that work in the Test Container but none in VB. I had the same problem with a comprable MFC Control Project, but finally got it using MFC functions which are not available in ALT. Does anyone have any suggestions?

Sky1000

Sky1000
October 23rd, 1999, 12:07 PM
I reconverted the project and GetParent() returns a container HWND in VB.

Sky1000