I am building a MFC MDI App.
My App has a tree ctrl that i would like to load new views with.
How can i load them from my tree ctrl.
When i double click on the tree i have a funtion whcih currently displays the selected item.
From here i would like to open/create a new view.

I have overridden OnFileOpen in my App Class

void CStaExApp::OnFileOpen()
When i select File New from the menu this runs and opend a new view with the file lsited.

Basically i would like to call this from my treectrl click function.

Once i can call it, i would change it to send in the selected file.

Mike Wilson