to create a T like 3 splitter window
From: Patrick Zou (patrick_zou_at_no_spam_hotmail.com)
Date: 06/25/04
- Next message: Johan Rosengren: "Re: Can't Create a DLL Dialog Box object"
- Previous message: Johan Rosengren: "Re: CFileDialog and ActiveX"
- Next in thread: Andre: "Re: to create a T like 3 splitter window"
- Reply: Andre: "Re: to create a T like 3 splitter window"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 25 Jun 2004 11:41:37 -0700
I tried to create a T like 3 splitter window, 2 child windows on top, one at
bottom, with the following codes, but got exception, what's wrong with that?
m_wndSplitter.CreateStatic(this, 2, 1);
//In which windows to put the view.
m_wndSplitter.CreateView(1, 0, RUNTIME_CLASS(CUsbRevealerView), CSize(100,
100), pContext);
m_wndSplitterNext.CreateStatic(&m_wndSplitter, 1, 2, WS_CHILD | WS_VISIBLE
| WS_BORDER,
m_wndSplitter.IdFromRowCol(1, 0));
m_wndSplitterNext.CreateView(0,0,RUNTIME_CLASS(CUsbRevealerView),CSize(100,
100),pContext);
m_wndSplitterNext.CreateView(0,1,RUNTIME_CLASS(CUsbRevealerView),CSize(100,
100),pContext);
- Next message: Johan Rosengren: "Re: Can't Create a DLL Dialog Box object"
- Previous message: Johan Rosengren: "Re: CFileDialog and ActiveX"
- Next in thread: Andre: "Re: to create a T like 3 splitter window"
- Reply: Andre: "Re: to create a T like 3 splitter window"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|