CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: Container HWND

  1. #1
    Join Date
    Oct 1999
    Posts
    25

    Container HWND

    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


  2. #2
    Join Date
    Oct 1999
    Posts
    25

    Re: Container HWND

    I reconverted the project and GetParent() returns a container HWND in VB.

    Sky1000


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured