|
|
|
![]() |
|
|||||||
|
||||||||
|
|
Thread Tools | Rate Thread | Display Modes |
|
#1
|
||||
|
||||
|
Visual C++ 2005 Designer
I am using the inbuilt designer to build a Multi Document Interface. Now I can inherit the Children forms form the Parent and display them or access their objects. The designer uses the Header flies for everything.
The Problem occurs when I try to inherit a object form the Parent form to one of the Children. Example: (Parent Form/parent.h) #include "Child.h" ref class Parent: ...... { Child^ c = gcnew Child;(No problem here) bla bla..... } But when I also try to do this (Child Form/child.h) #include "Parent.h" ref class Child: .... { Parent^ p = gcnew Parent;(give me a bunch of errors that I know are not wrong) bla bla } I can find anything on this on the internet or the help files. Can some one explain some possible reasons or what it means? Thanks |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Visual C++ 2005 Forms | 6600gt | Programming | 7 | 20-09-2006 00:05 |
| LEGO digital designer | tiffany34990 | Chit-Chat | 2 | 08-10-2005 07:13 |
| Bridge Designer | Cyberguy34000 | Chit-Chat | 4 | 13-08-2005 21:07 |
| Graphic Designer / Animator | Jay5780 | Career | 1 | 05-06-2001 20:05 |