In my project, I got a synchronization problem in CPropertyPages on a CPropertySheet. Here is the scenario:
In a CFormView page, there is right pane and left page. Left pane is a CListCtrl, which list all the current items. Right pane contains a CPropertySheet which has 2 CPropertyPages.
On selecting one of the items in the right pane, the first property page in the right page displays some configuration info of the item. These info is editable. The second property page displays a summary of the cofiguration of the first page and the info is read-only.
My questions are:
1. How can I display the current info in the second page?
This means the second page should display the updated info whenever user makes change in the first page.
2. How can I display the current info in both pages when user select another item in the CListCtrl in the left pane?
Currently, I load the info in all pages whenever a user select an item in the list ctrl. However, it is not efficient. I wnat the new item info will be only reloaded for the current active page. And the other page can display the info when user makes it active.
Thanks in advance.