does anyone has an example on how to create a Static Spliter window on a MDI application ??
I've been doing this:
PHP Code:
CRect c;
GetClientRect(&c);
m_staticSpliter.CreateStatic( this, 1, 2);
m_staticSpliter.CreateView( 0, 0,
RUNTIME_CLASS( MySpliterClass), CSize(c.Width()/2, c.Height()), pContext);
m_staticSpliter.CreateView( 0, 1,
RUNTIME_CLASS( MySpliterClass), CSize(c.Width()/2, c.Height()), pContext);
return TRUE;
but I allways get some error on the "MySpliterClass" ... something like it doesn't belong to any namespace....
I added my View Clas header to my Mainfrm.cpp and my document header to my view header file.