|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Create a controlhi,
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 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 |
|||||||||||||||||||||||