you need to get hold of the view pointer you want to activate
then get its parent frame and call ActivateFrame;
lets say u have the pointer of the view you want to active
CView *pview;
pview->GetParentFrame()->ActivateFrame(SW_RESTORE);
thats it.
regards
rajesh