CListCtrl m_ListCtrl; // a member variale in dialog1

I am currently in dialog2, and I want to call dialog1, and to fill it with the data in the parent dialog.

CDialog1 dlg;
dlg.DoModal();

How shall I fill m_ListCtrl with data from dialog2?

Please tell me how to pass pointers. A piece of code will be highly appreciated.
thankyou in advance.