Click here to Skip to main content
15,905,563 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: problem with compiler Pin
Ngoc Linh Nguyen30-Mar-16 5:58
Ngoc Linh Nguyen30-Mar-16 5:58 
GeneralRe: problem with compiler Pin
Ngoc Linh Nguyen31-Mar-16 0:39
Ngoc Linh Nguyen31-Mar-16 0:39 
GeneralRe: problem with compiler Pin
Jochen Arndt31-Mar-16 0:51
professionalJochen Arndt31-Mar-16 0:51 
Questionproblem with compiler Pin
Ngoc Linh Nguyen29-Mar-16 20:52
Ngoc Linh Nguyen29-Mar-16 20:52 
QuestionInitDialog in splitter Pin
Member 1228273828-Mar-16 10:07
Member 1228273828-Mar-16 10:07 
QuestionRe: InitDialog in splitter Pin
Richard MacCutchan28-Mar-16 21:46
mveRichard MacCutchan28-Mar-16 21:46 
AnswerRe: InitDialog in splitter Pin
Victor Nijegorodov29-Mar-16 2:20
Victor Nijegorodov29-Mar-16 2:20 
GeneralRe: InitDialog in splitter Pin
Member 1228273829-Mar-16 3:04
Member 1228273829-Mar-16 3:04 
Victor,

Thanks so much but I still don't know what to do. my CForm right and CFormLeft (where I want to put the OpenGL window) inherit from CFormView. Where do put the over ride? I have CMainForm : public CFrameWnd, and COpenGL: public CWnd. The OnCreateClient() function in CmainForm creates the splitter
C#
BOOL CMainFrame::OnCreateClient(LPCREATESTRUCT lpcs, CCreateContext* pContext)
{
	// TODO: Add your specialized code here and/or call the base class

	// create splitter window
	if (!m_wndSplitter.CreateStatic(this, 1, 2)){
		return FALSE;
	}

	if (!m_wndSplitter.CreateView(0, 0, RUNTIME_CLASS(CFormLeft), CSize(300, 100), pContext) ||
		!m_wndSplitter.CreateView(0, 1, RUNTIME_CLASS(CFormRight), CSize(100, 100), pContext))
	{
		m_wndSplitter.DestroyWindow();
		return FALSE;
	}

Thanks.
John
GeneralRe: InitDialog in splitter Pin
Richard MacCutchan29-Mar-16 4:23
mveRichard MacCutchan29-Mar-16 4:23 
GeneralRe: InitDialog in splitter Pin
Member 1228273829-Mar-16 7:12
Member 1228273829-Mar-16 7:12 
GeneralRe: InitDialog in splitter Pin
Richard MacCutchan29-Mar-16 7:19
mveRichard MacCutchan29-Mar-16 7:19 
GeneralRe: InitDialog in splitter Pin
Member 1228273829-Mar-16 10:41
Member 1228273829-Mar-16 10:41 
GeneralRe: InitDialog in splitter Pin
David Crow29-Mar-16 14:49
David Crow29-Mar-16 14:49 
GeneralRe: InitDialog in splitter Pin
Victor Nijegorodov30-Mar-16 5:09
Victor Nijegorodov30-Mar-16 5:09 
SuggestionRe: InitDialog in splitter Pin
David Crow29-Mar-16 9:11
David Crow29-Mar-16 9:11 
Questionarduino sensor Pin
Member 1240312128-Mar-16 7:35
Member 1240312128-Mar-16 7:35 
AnswerRe: arduino sensor Pin
David Crow28-Mar-16 9:40
David Crow28-Mar-16 9:40 
AnswerRe: arduino sensor Pin
Richard MacCutchan28-Mar-16 21:44
mveRichard MacCutchan28-Mar-16 21:44 
GeneralRe: arduino sensor Pin
Sascha Lefèvre28-Mar-16 23:31
professionalSascha Lefèvre28-Mar-16 23:31 
GeneralRe: arduino sensor Pin
Member 1240312130-Mar-16 23:19
Member 1240312130-Mar-16 23:19 
GeneralRe: arduino sensor Pin
leon de boer3-Apr-16 6:43
leon de boer3-Apr-16 6:43 
QuestionCOleDateTime Pin
Still learning how to code27-Mar-16 9:48
Still learning how to code27-Mar-16 9:48 
AnswerRe: COleDateTime Pin
Serkan Onat27-Mar-16 12:44
professionalSerkan Onat27-Mar-16 12:44 
GeneralRe: COleDateTime Pin
Still learning how to code27-Mar-16 22:11
Still learning how to code27-Mar-16 22:11 
GeneralRe: COleDateTime Pin
Jochen Arndt28-Mar-16 1:50
professionalJochen Arndt28-Mar-16 1: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.