hi,

I am using Visual Studio 2005 to develop a Windows Form Application in
C++.

My form has some controls like picturebox, label, and so one. But I
need to create a class where I would save other things.
I created the class and its instance but when I try to add this
instance like a control to my form, I got an error.

Someone can helps me? What can I do to deal with this instance like a
control?

thanks a lot

Re: Create a control by ilda

ilda
Tue Oct 02 10:14:09 PDT 2007

The answer:

create a class which is derived from the UserControl class.



On Oct 2, 3:45 pm, "ilda.cpp" <ildamar...@gmail.com> wrote:
> hi,
>
> I am using Visual Studio 2005 to develop a Windows Form Application in
> C++.
>
> My form has some controls like picturebox, label, and so one. But I
> need to create a class where I would save other things.
> I created the class and its instance but when I try to add this
> instance like a control to my form, I got an error.
>
> Someone can helps me? What can I do to deal with this instance like a
> control?
>
> thanks a lot