Results 1 to 3 of 3

Thread: Container Controls

  1. #1

    Thread Starter
    Fanatic Member clarkgriswald's Avatar
    Join Date
    Feb 2000
    Location
    USA
    Posts
    799

    Container Controls

    How do I get controls that get dropped into my ActiveX control to be children of a picturebox within the UserControl. For example I have a PictureBox control that is the same size as the UserControl and if a user drops a command button or label (controls without handles) onto my activeX, I want the picturebox to be the parent control, NOT the UserControl (trying to make a viewport)

  2. #2
    Super Moderator manavo11's Avatar
    Join Date
    Nov 2002
    Location
    Around the corner from si_the_geek
    Posts
    7,171
    The SetParent API?


    Has someone helped you? Then you can Rate their helpful post.

  3. #3

    Thread Starter
    Fanatic Member clarkgriswald's Avatar
    Join Date
    Feb 2000
    Location
    USA
    Posts
    799
    That will only work for controls with handles (.hwnd)

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