Click here to Skip to main content
16,005,339 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: CPU usage 100% Pin
Andy Moore15-Feb-06 10:25
Andy Moore15-Feb-06 10:25 
AnswerRe: CPU usage 100% Pin
Stephen Hewitt15-Feb-06 11:29
Stephen Hewitt15-Feb-06 11:29 
AnswerRe: CPU usage 100% Pin
Michael Dunn15-Feb-06 12:04
sitebuilderMichael Dunn15-Feb-06 12:04 
Questionoperator overloading question Pin
civicrico2315-Feb-06 9:40
civicrico2315-Feb-06 9:40 
AnswerRe: operator overloading question Pin
mylzw15-Feb-06 12:42
mylzw15-Feb-06 12:42 
QuestionSocket:: FD_ACCEPT and FD_CONNECT event Pin
transoft15-Feb-06 6:01
transoft15-Feb-06 6:01 
AnswerRe: Socket:: FD_ACCEPT and FD_CONNECT event Pin
James R. Twine15-Feb-06 6:13
James R. Twine15-Feb-06 6:13 
QuestionSplitter window question... Pin
RobJones15-Feb-06 6:00
RobJones15-Feb-06 6:00 
Hello all,
This should be easy but for some reason I am having troubles... I am trying to create a simple 3 view split in a SDI... I want the split to look like an upside down T, so a Left Top Pane, Right Top Pane, and a Bottom Pane (The bottom Pane needs to go from one side of the frame to the other). Here is what I am trying...


if(!m_wndSplitter.CreateStatic(this, 2, 2))<br />
		return FALSE;<br />
	<br />
	if(!m_BottomSplitter.CreateStatic(&m_wndSplitter, 1, 1, WS_CHILD | WS_VISIBLE, m_wndSplitter.IdFromRowCol(1,1)))<br />
		return FALSE;<br />
<br />
	if( !m_wndSplitter.CreateView(0, 0, RUNTIME_CLASS(CLeftView), CSize(175, 175), pContext) ||<br />
		!m_wndSplitter.CreateView(0, 1, RUNTIME_CLASS(CRightView), CSize(100, 100), pContext))<br />
	{<br />
		m_wndSplitter.DestroyWindow();<br />
		return FALSE;<br />
	}<br />
<br />
	if(!m_BottomSplitter.CreateView(0, 0, RUNTIME_CLASS(CBottomView), CSize(100, 100), pContext))<br />
	{<br />
		m_BottomSplitter.DestroyWindow();<br />
		return FALSE;<br />
	}



Any ideas?
Rob



Whoever said nothing's impossible never tried slamming a revolving door!
AnswerRe: Splitter window question... Pin
RChin15-Feb-06 7:01
RChin15-Feb-06 7:01 
AnswerRe: Splitter window question... Pin
David Crow15-Feb-06 7:03
David Crow15-Feb-06 7:03 
QuestionEvents and classes Pin
masnu15-Feb-06 4:29
masnu15-Feb-06 4:29 
AnswerRe: Events and classes Pin
Blake Miller16-Feb-06 12:26
Blake Miller16-Feb-06 12:26 
QuestionDefault button Pin
Wim Engberts15-Feb-06 4:18
Wim Engberts15-Feb-06 4:18 
AnswerRe: Default button Pin
basementman15-Feb-06 4:23
basementman15-Feb-06 4:23 
GeneralRe: Default button Pin
Wim Engberts15-Feb-06 4:26
Wim Engberts15-Feb-06 4:26 
AnswerRe: Default button Pin
toxcct15-Feb-06 4:36
toxcct15-Feb-06 4:36 
QuestionACS Stream Pin
yamunasenthilvel15-Feb-06 3:56
yamunasenthilvel15-Feb-06 3:56 
QuestionTest a DIB for percentage of black pixels Pin
davidhart15-Feb-06 3:48
davidhart15-Feb-06 3:48 
AnswerRe: Test a DIB for percentage of black pixels Pin
basementman15-Feb-06 4:29
basementman15-Feb-06 4:29 
GeneralRe: Test a DIB for percentage of black pixels Pin
normanS15-Feb-06 18:39
normanS15-Feb-06 18:39 
QuestionChange Application Icon Pin
sunit515-Feb-06 3:30
sunit515-Feb-06 3:30 
AnswerRe: Change Application Icon Pin
toxcct15-Feb-06 3:32
toxcct15-Feb-06 3:32 
GeneralRe: Change Application Icon Pin
sunit515-Feb-06 3:39
sunit515-Feb-06 3:39 
AnswerRe: Change Application Icon Pin
Wim Engberts15-Feb-06 4:12
Wim Engberts15-Feb-06 4:12 
GeneralRe: Change Application Icon Pin
ThatsAlok16-Feb-06 2:44
ThatsAlok16-Feb-06 2:44 

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.