Dialog box control
Posted on 2006-10-26
I have a uni assignment to build an application that is a simple front end for a database and as such is a dialog based application.
It has a list control object so i can display the record set "rows". However. once the dialog is open how can I access it from the applications view class to give it a pointer to the record set class
Being a beginner, i tried to created a new dialog window
m_pCustomerListDlg = new CCustomerListDlg();
m_pCustomerListDlg -> ShowWindow (SW_SHOW);
m_pCustomerListDlg -> Create_Table ();
this displayed the data table but the UI was stuffed up. How is the best way to "attach" the open dialog window to the variable m_pCustomerListDlg?