MFC and SDI with TREEVIEW and FORMVIEW
Posted on 1998-05-17
I am using an SDI with a two pane splitter. The left pane is a treeview and the right pane is a form view. I have a CRecordset derived class to populate the tree and the form. Currently, I am populating the tree in the application's view class using OnInitialUpdate function.
How can I populate and synchronize the data in the formview (or should it be recordview?) with the selected tree item?
Should I be using a global pointer for the Recordset and if so how and where should I implement it?
I am using ODBC on a remote UNIX database.