Click here to Skip to main content
15,921,697 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralAdding a Toolbar Pin
Anonymous29-Oct-02 14:08
Anonymous29-Oct-02 14:08 
GeneralRe: Adding a Toolbar Pin
Christian Graus29-Oct-02 15:23
protectorChristian Graus29-Oct-02 15:23 
GeneralIM Client Pin
WSK29-Oct-02 14:00
WSK29-Oct-02 14:00 
GeneralRe: IM Client Pin
Paul Ingles29-Oct-02 14:26
Paul Ingles29-Oct-02 14:26 
GeneralSDI Question Pin
Cerb29-Oct-02 13:54
Cerb29-Oct-02 13:54 
GeneralRe: SDI Question Pin
Maximilien29-Oct-02 15:02
Maximilien29-Oct-02 15:02 
GeneralRe: SDI Question Pin
Anatari29-Oct-02 17:33
Anatari29-Oct-02 17:33 
QuestionQuestion, How to fill modal dialog combo box at runtime? Pin
work_to_live29-Oct-02 13:25
work_to_live29-Oct-02 13:25 
AnswerRe: Question, How to fill modal dialog combo box at runtime? Pin
Chris Losinger29-Oct-02 13:41
professionalChris Losinger29-Oct-02 13:41 
GeneralRe: Question, How to fill modal dialog combo box at runtime? Pin
work_to_live29-Oct-02 13:54
work_to_live29-Oct-02 13:54 
GeneralRe: Question, How to fill modal dialog combo box at runtime? Pin
Chris Losinger29-Oct-02 13:58
professionalChris Losinger29-Oct-02 13:58 
GeneralRe: Question, How to fill modal dialog combo box at runtime? Pin
work_to_live29-Oct-02 14:06
work_to_live29-Oct-02 14:06 
GeneralRe: Question, How to fill modal dialog combo box at runtime? Pin
Chris Losinger29-Oct-02 14:33
professionalChris Losinger29-Oct-02 14:33 
GeneralRe: Question, How to fill modal dialog combo box at runtime? Pin
work_to_live29-Oct-02 16:10
work_to_live29-Oct-02 16:10 
GeneralRe: Question, How to fill modal dialog combo box at runtime? Pin
Chris Losinger29-Oct-02 16:13
professionalChris Losinger29-Oct-02 16:13 
GeneralRe: Question, How to fill modal dialog combo box at runtime? Pin
work_to_live29-Oct-02 16:26
work_to_live29-Oct-02 16:26 
GeneralRe: Question, How to fill modal dialog combo box at runtime? Pin
Chris Losinger29-Oct-02 16:30
professionalChris Losinger29-Oct-02 16:30 
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

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.