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

C / C++ / MFC

 
GeneralRe: Window Message Problem Pin
Hamid_RT15-Sep-08 3:16
Hamid_RT15-Sep-08 3:16 
QuestionWaitForMultipleObjects Pin
_AnsHUMAN_ 15-Sep-08 1:44
_AnsHUMAN_ 15-Sep-08 1:44 
QuestionRe: WaitForMultipleObjects Pin
CPallini15-Sep-08 1:52
mveCPallini15-Sep-08 1:52 
Questionset / call two different timmer/ handlers respectively Pin
ptr_Electron15-Sep-08 1:40
ptr_Electron15-Sep-08 1:40 
AnswerRe: set / call two different timmer/ handlers respectively Pin
Chris Losinger15-Sep-08 1:45
professionalChris Losinger15-Sep-08 1:45 
AnswerRe: set / call two different timmer/ handlers respectively Pin
CPallini15-Sep-08 1:48
mveCPallini15-Sep-08 1:48 
AnswerRe: set / call two different timmer/ handlers respectively Pin
Hamid_RT15-Sep-08 2:03
Hamid_RT15-Sep-08 2:03 
QuestionLittle Splitter problem ! Pin
CrocodileBuck15-Sep-08 1:03
CrocodileBuck15-Sep-08 1:03 
Hi,

i coded a sdi project with 3 horizonta splitters, no problem.
But now i want a vertical Splitter in the first pane,
********************
*------*-----------*
*------*-----------*
********************
*------------------*
*------------------*
*------------------*
********************
*------------------*
*------------------*
*------------------*
********************


but this doesn't wotk D'Oh! | :doh: Cry | :((
I don't get an error, but the chilsSplitter isn't shown !

Here is my code:

BOOL CMainFrame::OnCreateClient(LPCREATESTRUCT lpcs, CCreateContext* pContext) 
{
	CRect cr; 
	GetClientRect(&cr);
	
	m_Splitter_Main.CreateStatic(this, 3, 1);
	m_Splitter_Main.CreateView(0, 0, RUNTIME_CLASS(CTest_01View), CSize(cr.Width(), cr.Height()/3), pContext); 
	m_Splitter_Main.CreateView(1, 0, RUNTIME_CLASS(CTest_01View), CSize(cr.Width(), cr.Height()/3), pContext);  
	m_Splitter_Main.CreateView(2, 0, RUNTIME_CLASS(CTest_01View), CSize(cr.Width(), cr.Height()/3), pContext);
	
	m_Splitter_Child_1.CreateStatic(&m_Splitter_Main, 1, 2, WS_CHILD | WS_VISIBLE, m_Splitter_Main.IdFromRowCol(0, 0));
	m_Splitter_Child_1.CreateView(0, 0, RUNTIME_CLASS(CTest_01View), CSize(100, 0), pContext);
 	m_Splitter_Child_1.CreateView(0, 1, RUNTIME_CLASS(CTest_01View), CSize(0, 0), pContext);
	
	return TRUE;	
}


Many, many thanx for your help !
Best regards
Croc
AnswerRe: Little Splitter problem ! Pin
David Crow15-Sep-08 5:01
David Crow15-Sep-08 5:01 
GeneralRe: Little Splitter problem ! Pin
CrocodileBuck15-Sep-08 8:21
CrocodileBuck15-Sep-08 8:21 
Questionhow to know that we have reached end of file? Pin
kapardhi15-Sep-08 0:59
kapardhi15-Sep-08 0:59 
AnswerRe: how to know that we have reached end of file? Pin
toxcct15-Sep-08 1:31
toxcct15-Sep-08 1:31 
GeneralRe: how to know that we have reached end of file? Pin
kapardhi15-Sep-08 1:43
kapardhi15-Sep-08 1:43 
GeneralRe: how to know that we have reached end of file? Pin
David Crow15-Sep-08 5:08
David Crow15-Sep-08 5:08 
GeneralRe: how to know that we have reached end of file? Pin
toxcct15-Sep-08 5:42
toxcct15-Sep-08 5:42 
GeneralRe: how to know that we have reached end of file? Pin
kapardhi15-Sep-08 19:03
kapardhi15-Sep-08 19:03 
AnswerRe: how to know that we have reached end of file? Pin
Sarath C15-Sep-08 1:36
Sarath C15-Sep-08 1:36 
AnswerRe: how to know that we have reached end of file? Pin
_AnsHUMAN_ 15-Sep-08 1:54
_AnsHUMAN_ 15-Sep-08 1:54 
GeneralRe: how to know that we have reached end of file? Pin
kapardhi15-Sep-08 2:37
kapardhi15-Sep-08 2:37 
GeneralRe: how to know that we have reached end of file? Pin
Hamid_RT15-Sep-08 2:41
Hamid_RT15-Sep-08 2:41 
GeneralRe: how to know that we have reached end of file? Pin
_AnsHUMAN_ 15-Sep-08 2:55
_AnsHUMAN_ 15-Sep-08 2:55 
Questiondelete registry key values Pin
Madan Chauhan15-Sep-08 0:17
Madan Chauhan15-Sep-08 0:17 
AnswerRe: delete registry key values Pin
Joseph Marzbani15-Sep-08 0:37
Joseph Marzbani15-Sep-08 0:37 
AnswerRe: delete registry key values Pin
kapardhi15-Sep-08 0:52
kapardhi15-Sep-08 0:52 
GeneralRe: delete registry key values Pin
Madan Chauhan15-Sep-08 1:19
Madan Chauhan15-Sep-08 1:19 

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.