create dialog with already initilized fields?
C / C++ / MFC
5
Posts
4
Posters
0
Views
1
Watching
-
there are 2 classes class MyClass1: public CDialog & class MyClass2: public CDialog CObArray m_obArray is protected member of MyClass1 The task is to initialize CListCtrl m_list of MyClass2 with elements of m_obArray
-
-
there are 2 classes class MyClass1: public CDialog & class MyClass2: public CDialog CObArray m_obArray is protected member of MyClass1 The task is to initialize CListCtrl m_list of MyClass2 with elements of m_obArray
MyClass1
will need a 'getter' method that returns a reference/pointer to itsm_obArray
member.
"The largest fire starts but with the smallest spark." - David Crow