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

C / C++ / MFC

 
GeneralRe: C, Win32 API: l need help with ReadFile function Pin
Richard MacCutchan2-Apr-16 6:10
mveRichard MacCutchan2-Apr-16 6:10 
GeneralRe: C, Win32 API: l need help with ReadFile function Pin
Jochen Arndt2-Apr-16 21:02
professionalJochen Arndt2-Apr-16 21:02 
AnswerRe: C, Win32 API: l need help with ReadFile function Pin
David Crow1-Apr-16 2:25
David Crow1-Apr-16 2:25 
QuestionOpenCL program uses only 1 core from 192 cuda cores Pin
Javier Luis Lopez31-Mar-16 4:04
Javier Luis Lopez31-Mar-16 4:04 
QuestionRe: OpenCL program uses only 1 core from 192 cuda cores Pin
David Crow31-Mar-16 6:09
David Crow31-Mar-16 6:09 
AnswerRe: OpenCL program uses only 1 core from 192 cuda cores Pin
Javier Luis Lopez20-Apr-16 1:14
Javier Luis Lopez20-Apr-16 1:14 
QuestionHow to overwrite one angle arc over other during runtime Pin
Member 1053643030-Mar-16 1:45
Member 1053643030-Mar-16 1:45 
SuggestionRe: How to overwrite one angle arc over other during runtime Pin
Kornfeld Eliyahu Peter30-Mar-16 2:06
professionalKornfeld Eliyahu Peter30-Mar-16 2:06 
QuestionC, Win32 API: l need a help Pin
Member 1213944229-Mar-16 21:19
Member 1213944229-Mar-16 21:19 
SuggestionRe: C, Win32 API: l need a help Pin
David Crow30-Mar-16 10:09
David Crow30-Mar-16 10:09 
AnswerRe: C, Win32 API: l need a help Pin
Victor Nijegorodov31-Mar-16 1:11
Victor Nijegorodov31-Mar-16 1:11 
Questionproblem with compiler Pin
Ngoc Linh Nguyen29-Mar-16 20:52
Ngoc Linh Nguyen29-Mar-16 20:52 
AnswerRe: problem with compiler Pin
Jochen Arndt29-Mar-16 21:33
professionalJochen Arndt29-Mar-16 21:33 
GeneralRe: problem with compiler Pin
Ngoc Linh Nguyen30-Mar-16 3:14
Ngoc Linh Nguyen30-Mar-16 3:14 
GeneralRe: problem with compiler Pin
Jochen Arndt30-Mar-16 4:15
professionalJochen Arndt30-Mar-16 4:15 
GeneralRe: problem with compiler Pin
Ngoc Linh Nguyen30-Mar-16 5:36
Ngoc Linh Nguyen30-Mar-16 5:36 
GeneralRe: problem with compiler Pin
Jochen Arndt30-Mar-16 5:53
professionalJochen Arndt30-Mar-16 5:53 
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

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.