Hi to all. How can I change( set) the active tab in Tabbed MDI app created using VS2008. I need to set active tab from CMainFrame using zero based index (what I need is a pointer to CMFC(Base)TabCtrl so I can call 'SetActiveTab(int id)' )? Thanks in advance