Click here to Skip to main content
15,892,005 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralHelp to create an application which will be executed in background Pin
lillah25-Oct-04 6:39
lillah25-Oct-04 6:39 
GeneralRe: Help to create an application which will be executed in background Pin
David Crow25-Oct-04 7:28
David Crow25-Oct-04 7:28 
GeneralRe: Help to create an application which will be executed in background Pin
dharani26-Oct-04 21:47
dharani26-Oct-04 21:47 
GeneralRe: Help to create an application which will be executed in background Pin
lillah26-Oct-04 22:20
lillah26-Oct-04 22:20 
GeneralRe: Help to create an application which will be executed in background Pin
David Crow27-Oct-04 3:21
David Crow27-Oct-04 3:21 
Generalremove IE features in CDHtmlDialog Pin
pluto6625-Oct-04 5:58
pluto6625-Oct-04 5:58 
QuestionSplitters in MDI without WTL??? Pin
Vircowskiy Yacow25-Oct-04 5:45
Vircowskiy Yacow25-Oct-04 5:45 
AnswerRe: Splitters in MDI without WTL??? Pin
KaЯl26-Oct-04 3:38
KaЯl26-Oct-04 3:38 
i'm not sure to totally understand your question, but you can create a splitter in the Child Frame window by using a CSplitterWnd in it.
Add a CSplitterWnd attribute to your child frame, then overload the virtual method virtual BOOL CFrameWnd::OnCreateClient(LPCREATESTRUCT lpcs, CCreateContext* pContext); to create the splitter window object:

For example:

BOOL CSplitterFrame::OnCreateClient(LPCREATESTRUCT lpcs, CCreateContext* pContext) 
{
	// create a splitter with 1 row, 2 columns
	if (!m_wndSplitter.CreateStatic(this, 2, 1))
	{
		TRACE0("Failed to CreateStaticSplitter\n");
		return FALSE;
	}

	if (!m_wndSplitter.CreateView(0,0,
		pContext->m_pNewViewClass, CSize(50, 50), pContext))
	{
		TRACE0("Failed to create first pane\n");
		return FALSE;
	}
	if (!m_wndSplitter.CreateView(1,0,
		pContext->m_pNewViewClass, CSize(50, 50), pContext))
	{
		TRACE0("Failed to create second pane\n");
		return FALSE;
	}

	// activate the input view
	SetActiveView((CView*)m_wndSplitter.GetPane(0,0));

	return TRUE;
}



Have a look to http://freedom2.pcupdate.easyspace.com/nt/ch07/182-186.html[^] for more info.

HTH,

K.






Fold With Us!
"A leader is a man who can adapt principles to circumstances - Georges S. Patton, 1885–1945"

GeneralOnFileNew Pin
0v3rloader25-Oct-04 5:30
0v3rloader25-Oct-04 5:30 
GeneralRe: OnFileNew Pin
BlackDice25-Oct-04 5:55
BlackDice25-Oct-04 5:55 
GeneralRe: OnFileNew Pin
Maximilien25-Oct-04 6:32
Maximilien25-Oct-04 6:32 
GeneralMultiple thread question Pin
Tom Wright25-Oct-04 5:29
Tom Wright25-Oct-04 5:29 
GeneralRe: Multiple thread question Pin
Blake Miller25-Oct-04 5:44
Blake Miller25-Oct-04 5:44 
QuestionHow to fetch large binary object in bulks ? Pin
Yariv25-Oct-04 4:54
Yariv25-Oct-04 4:54 
AnswerRe: How to fetch large binary object in bulks ? Pin
BlackDice25-Oct-04 5:18
BlackDice25-Oct-04 5:18 
GeneralKeep child dialog visible while minimizing parent dialog Pin
BlackDice25-Oct-04 4:24
BlackDice25-Oct-04 4:24 
GeneralRe: Keep child dialog visible while minimizing parent dialog Pin
Blake Miller25-Oct-04 5:14
Blake Miller25-Oct-04 5:14 
GeneralRe: Keep child dialog visible while minimizing parent dialog Pin
BlackDice25-Oct-04 5:31
BlackDice25-Oct-04 5:31 
GeneralRe: Keep child dialog visible while minimizing parent dialog Pin
Blake Miller25-Oct-04 5:41
Blake Miller25-Oct-04 5:41 
GeneralRESOLVED Pin
BlackDice25-Oct-04 5:48
BlackDice25-Oct-04 5:48 
Questiondangling pointers ? Pin
Asim N.25-Oct-04 4:15
Asim N.25-Oct-04 4:15 
AnswerRe: dangling pointers ? Pin
David Crow25-Oct-04 4:53
David Crow25-Oct-04 4:53 
GeneralRe: dangling pointers ? Pin
Antony M Kancidrowski25-Oct-04 6:42
Antony M Kancidrowski25-Oct-04 6:42 
AnswerRe: dangling pointers ? Pin
Jim Crafton25-Oct-04 7:18
Jim Crafton25-Oct-04 7:18 
AnswerRe: dangling pointers ? Pin
Ravi Bhavnani25-Oct-04 13:37
professionalRavi Bhavnani25-Oct-04 13:37 

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.