Home All Groups Group Topic Archive Search About
Author
2 Oct 2007 2:45 PM
ilda.cpp
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

Author
2 Oct 2007 5:14 PM
ilda.cpp
The answer:

create a class which is derived from the UserControl class.



Show quote
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

AddThis Social Bookmark Button