From: Joseph M. Newcomer on 17 Jul 2008 11:22 See below... On Thu, 17 Jul 2008 04:19:00 -0700, Ravnock <Ravnock(a)discussions.microsoft.com> wrote: >I understood the updating mechanism between views and controls in the view >->direction direction. > >But in the inverse case: > >I have my CPropertiesWnd class child of CDockablePane, with a reference to a >CMFCPropertyGridCtrl. (Like the wizard example). > >In the CMainFrame class (child of CFrameWndEx) I have a reference to >CPropertiesWnd. > >I change a property value in the property window. > >What I must do? **** See my essay and code www.flounder.com/charfunc.htm where I talk about the design and implementation issues. In my case, there are combo boxes and menus, but the basic idea is the same, so see what I do to achieve proper module isolation. ***** > >What are the classes involved and how? > >Thanks for all > >"Ravnock" wrote: > >> I have a CTreeCtrl and a 3D render view. >> >> With the mouse, I create elements picking in the 3D render view. This >> elements must be showed in the CTreeCtrl. >> >> What is the process to do it? >> >> I think 3D render view must send a message to the CTreeCtrl. CTreeCtrl >> captures it and update itself. >> >> But what kind of message and how? Joseph M. Newcomer [MVP] email: newcomer(a)flounder.com Web: http://www.flounder.com MVP Tips: http://www.flounder.com/mvp_tips.htm |