How to switch over a different-different formviews corresponding to the menu ite

Hello Sir,

Iam Implementing an MDI application with multiple

views(derived from CFormView).In my application i have

created ControlBar in which i have put/created TreeCtrl

on left side of the CMDIFrameWnd.

Now whenever i select an item from the TreeCtrl,one

Popup menu comes,so here i want whenever i select any

menu item i wanted to be switched over a particular

view that was derived from CFormView and wanted it to

display on right side of the CChildFrame.

So please explain me the way how can i add multiple

views or different-different views to the corresponding

menu items.

Help me,
pratibha.
[729 byte] By [prati] at [2007-11-18 20:33:22]