VC ++ multi-view switching