Click here to Skip to main content
15,891,033 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Question, How to fill modal dialog combo box at runtime? Pin
work_to_live29-Oct-02 16:48
work_to_live29-Oct-02 16:48 
QuestionCircular Queue maybe STL...? Pin
alex.barylski29-Oct-02 13:02
alex.barylski29-Oct-02 13:02 
AnswerRe: Circular Queue maybe STL...? Pin
Tim Smith29-Oct-02 14:03
Tim Smith29-Oct-02 14:03 
GeneralRe: Circular Queue maybe STL...? Pin
alex.barylski29-Oct-02 18:34
alex.barylski29-Oct-02 18:34 
GeneralDouble to Binary Pin
Matthew R. Miller29-Oct-02 12:55
Matthew R. Miller29-Oct-02 12:55 
GeneralRe: Double to Binary Pin
John M. Drescher29-Oct-02 13:34
John M. Drescher29-Oct-02 13:34 
GeneralRe: Double to Binary Pin
Chris Losinger29-Oct-02 13:36
professionalChris Losinger29-Oct-02 13:36 
GeneralSplitter within a view :: MFC Pin
clintsinger29-Oct-02 11:46
clintsinger29-Oct-02 11:46 
I have a FrameWnd where I am splitting the the client horizontally. On the right hand side I would like to split it vertically (similar to outlook). The right hand side is a class called CCourseView. When CCourseView::Create is called I try to create another splitter for within that class. Unfortunately I get an error stating "Failed to create an empty document".

<br />
BOOL CCourseView::Create(LPCTSTR lpszClassName, LPCTSTR lpszWindowName, DWORD dwStyle, const RECT& rect, CWnd* pParentWnd, UINT nID, CCreateContext* pContext) <br />
{<br />
	if (!m_wndSplitter.CreateStatic(this, 2, 1))<br />
	{<br />
		TRACE0("Failed to create splitter window\n");<br />
		return FALSE;<br />
	}<br />
<br />
	//	// Outlook bar view.<br />
	if (!m_wndSplitter.CreateView(0, 0, RUNTIME_CLASS(CHoleView),<br />
		CSize(0, 90), pContext))<br />
	{<br />
		TRACE0("Failed to create COutlookPanel\n"); <br />
		return FALSE;<br />
	}	<br />
	<br />
	if (!m_wndSplitter.CreateView(1, 0, RUNTIME_CLASS(CHoleStatsView),<br />
		CSize(0, 150), pContext))<br />
	{<br />
		TRACE0("Failed to create CCourseView\n"); <br />
		return FALSE;<br />
	}	<br />
<br />
	return CWnd::Create(lpszClassName, lpszWindowName, dwStyle, rect, pParentWnd, nID, pContext);<br />
}<br />


Any Ideas?

Sincerly,
Clint Singer
GeneralRe: Splitter within a view :: MFC Pin
jhwurmbach29-Oct-02 22:06
jhwurmbach29-Oct-02 22:06 
GeneralMinimum Windows Size (CFormView) :: MFC Pin
valikac29-Oct-02 10:22
valikac29-Oct-02 10:22 
GeneralRe: Minimum Windows Size (CFormView) :: MFC Pin
Joaquín M López Muñoz29-Oct-02 11:20
Joaquín M López Muñoz29-Oct-02 11:20 
GeneralRe: Minimum Windows Size (CFormView) :: MFC Pin
niuhaiyun19-Nov-02 0:25
niuhaiyun19-Nov-02 0:25 
GeneralRe: Minimum Windows Size (CFormView) :: MFC Pin
Shog929-Oct-02 11:35
sitebuilderShog929-Oct-02 11:35 
GeneralRe: Minimum Windows Size (CFormView) :: MFC Pin
valikac29-Oct-02 12:41
valikac29-Oct-02 12:41 
GeneralRe: Minimum Windows Size (CFormView) :: MFC Pin
Shog929-Oct-02 13:09
sitebuilderShog929-Oct-02 13:09 
GeneralRe: Minimum Windows Size (CFormView) :: MFC Pin
valikac29-Oct-02 13:16
valikac29-Oct-02 13:16 
GeneralRe: Minimum Windows Size (CFormView) :: MFC Pin
Shog929-Oct-02 13:24
sitebuilderShog929-Oct-02 13:24 
GeneralRe: Minimum Windows Size (CFormView) :: MFC Pin
valikac29-Oct-02 13:27
valikac29-Oct-02 13:27 
GeneralRe: Minimum Windows Size (CFormView) :: MFC Pin
Shog929-Oct-02 13:29
sitebuilderShog929-Oct-02 13:29 
GeneralRe: Minimum Windows Size (CFormView) :: MFC Pin
Paul M Watt29-Oct-02 14:59
mentorPaul M Watt29-Oct-02 14:59 
GeneralRe: Minimum Windows Size (CFormView) :: MFC Pin
valikac29-Oct-02 16:37
valikac29-Oct-02 16:37 
GeneralRe: Minimum Windows Size (CFormView) :: MFC Pin
valikac29-Oct-02 17:47
valikac29-Oct-02 17:47 
Generalmodifiy IHTMLTable via IHTMLCollection Pin
Member 5194329-Oct-02 10:21
Member 5194329-Oct-02 10:21 
GeneralRe: modifiy IHTMLTable via IHTMLCollection Pin
eXplodus29-Oct-02 10:56
eXplodus29-Oct-02 10:56 
GeneralSelection in CListCtrl Pin
Le centriste29-Oct-02 9:50
Le centriste29-Oct-02 9:50 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.