I am developing a MDI program, and I meet a trouble now. Who can help me?
I hope to make an editor, which contain a split-able scroll bar such as VC dev., UltraEdit etc.
it can split dynamic. So I create a split window in ChildFrame.
BOOL CChildFrame::OnCreateClient(LPCREATESTRUCT lpcs, CCreateContext* pContext)
//TODO: Add your specialized code here and/or call the base class
return m_wndSplitter.Create(this, 2, 2, CSize(30, 30), pContext);
In my view class, I use a third part Editor control. This control will create a vertical scroll bar when the text is over it length, so it will appear two scroll bars on the left of the view. How can I make it be same one? Thanks!
I had try to do following test, but both are fail.
1) m_wndSplitter.SetScrollStyle(0); // the m_wndSplitter's csroll bar is dispear, but it can't split.
2) m_wndSplitter.CreateScrollBarCtrl( WS_VSCROLL,AFX_IDW_PANE_FIRST);
My Email is firstname.lastname@example.org
Any help would be greatly appreciated.