Results 1 to 6 of 6

Thread: [RESOLVED] How can I create an ActiveX control that can be placed onto an MDI form?

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Jun 2005
    Posts
    81

    Resolved [RESOLVED] How can I create an ActiveX control that can be placed onto an MDI form?

    I need to develop a control in VB6 that I can directly place onto an MDI form. I created an align property, I

    tried to place a picturebox onto my new activex, but It seem not to work.

    plz help

  2. #2
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: How can I create an ActiveX control that can be placed onto an MDI form?

    Quote Originally Posted by ultra2
    but It seem not to work...plz help
    What does that mean?

    What did it do?

    What is it supposed to do?

    Post your code please.

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Jun 2005
    Posts
    81

    Re: How can I create an ActiveX control that can be placed onto an MDI form?

    The control I trying to develop is designed to be a container of other forms. I know a control "A&G Subform" which can do this. So it is possible to do it.

    thx for ur response

  4. #4
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: How can I create an ActiveX control that can be placed onto an MDI form?

    What code to you have so far that isn't working?

  5. #5
    PowerPoster Dave Sell's Avatar
    Join Date
    Mar 2004
    Location
    /dev/null
    Posts
    2,961

    Re: How can I create an ActiveX control that can be placed onto an MDI form?

    Quote Originally Posted by ultra2
    The control I trying to develop is designed to be a container of other forms. I know a control "A&G Subform" which can do this. So it is possible to do it.

    thx for ur response
    Not all controls are made in VB6. Some are made in C++ using the ATL Library and MFC.
    Nobody knows what software they want until after you've delivered what they originally asked for.

    Don't solve problems which don't exist.

    "If I had eight hours to cut down a tree, I'd spend six hours sharpening my axe." --- Abraham Lincoln (1809-1865)

    2 idiots don't make a genius.

  6. #6
    PowerPoster
    Join Date
    Oct 2002
    Location
    British Columbia
    Posts
    9,758

    Re: How can I create an ActiveX control that can be placed onto an MDI form?

    A user control can be added to an MDI Form only if the Alignable property is set to True.

    If you then want to allow developers the ability to add controls onto the user control, the ControlContainer property must also be set to True.

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