Results 1 to 3 of 3

Thread: Custom Graphic Control

  1. #1

    Thread Starter
    New Member
    Join Date
    Apr 2005
    Posts
    8

    Custom Graphic Control

    I would liek to be able to create my own graphic control that can be place at runtime by the user. The sort of thing I'm thinking about an environment with (say) a picture control as the container and my custom control that can be placed multiple times in the container. Each occurrence of the control would represent a particular process and I want to my user to be able to pipeline these processes by link the controls in the required sequence.

    Is this something that cen be done in Visual Basic 6 Pro, or must I try to teach myself C++? If it can be done, I would appreciate some pointers as to how to go about it.

    Many Thanks in advance for your advice and opinions.

    Jeffow

  2. #2
    Old Member moeur's Avatar
    Join Date
    Nov 2004
    Location
    Wait'n for Free Stuff
    Posts
    2,712

    Re: Custom Graphic Control

    You can simulate this in VB6.
    You'll have to create a control array inside the container for each control you want the user to have access to.
    Initially make all of them not visible.
    Now, when the user wants to place a control in the container, just load another instance of the control and make it visible.
    I would use SetCapture to allow the user to drag the control around.

    Does this help?

  3. #3

    Thread Starter
    New Member
    Join Date
    Apr 2005
    Posts
    8

    Re: Custom Graphic Control [RESOLVED]

    Many Thanks. I'm sure an array will do the job.
    jeffow

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