I am a engine type person in software development, I've done virtually nothing with creating interface stuff, other then buttons, dialogs, and such.
What I like to do is to create the c++ workspace window with all the exact charateristics. i.e. (tabs,treeview, and such) again EXACTLY like the workspace window in C++. The only thing that I will change is:
1.) instead of Classview I will put input, and for File view I will put output and change the respective icons on the tabs (I only need two tabs currently, may add one later), it will behave just like in Viusual C++ when you turn it on or off.
I have a window that was created and I fixed. It has a splitter in it. So now, what I need is to create this new workspace window and then have the system adjust both windows (I think its that RecalLayout funtion)
if you open viusal c then just have the workspace button pressed with a c++ file up in the editor, that is what I want except in my case, the c++ file will have a splitter through it)
OK currently I have a class called CChildFrame (below)
// class forwards.
class CChildFrame : public CMDIChildWnd
CTreeView m_wndWorkspace;//this was a guess
// CTr *pWnd;
// Splitter stuff
I assume I will create the new window in the function below:
int CChildFrame::OnCreate(LPCREATESTRUCT lpCreateStruct)
(* assume you create the workspace window here*?????????)
Here is where the splitter window gets created (and works fine):
BOOL CChildFrame::OnCreateClient(LPCREATESTRUCT lpcs, CCreateContext* pContext)
// Create the splitter window with two rows
if (!m_wndSplitter.CreateStatic(this, 2, 1))
TRACE0("Failed to create splitter window\n");
// Top splitter window
CSize(0, 250), pContext))
// Bottom splitter window
CSize(0, 0), pContext))
// Set pointers to the two splitter pane frame windows
m_pDrawingFrame = (CFrameWnd*) m_wndSplitter.GetPane(0,0);
m_pDetailsFrame = (CFrameWnd*)m_wndSplitter.GetPane(1,0);
I have two classses ready that are called:
CInputView and COutputView
This is about where I'm at.....
wheels spinning and nowhere to go. ready to learn!