Click here to Skip to main content
15,881,812 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Read a string from registry Pin
Mark Salsbery18-Sep-07 5:09
Mark Salsbery18-Sep-07 5:09 
GeneralRe: Read a string from registry Pin
led mike18-Sep-07 6:36
led mike18-Sep-07 6:36 
GeneralRe: Read a string from registry Pin
Mark Salsbery18-Sep-07 6:42
Mark Salsbery18-Sep-07 6:42 
GeneralRe: Read a string from registry Pin
led mike18-Sep-07 6:46
led mike18-Sep-07 6:46 
GeneralRe: Read a string from registry Pin
David Crow18-Sep-07 6:57
David Crow18-Sep-07 6:57 
GeneralRe: Read a string from registry Pin
Mark Salsbery18-Sep-07 9:23
Mark Salsbery18-Sep-07 9:23 
QuestionRe: Read a string from registry Pin
David Crow18-Sep-07 5:11
David Crow18-Sep-07 5:11 
Questionquestion on static creating multi-views Pin
King Tran18-Sep-07 4:18
King Tran18-Sep-07 4:18 
question one:

CMainFrame::OnCreateClient(LPCREATESTRUCT lpcs, CCreateContext* pContext)
{
m_splitterWnd.CreateStatic(this,1,2);
m_splitterWnd.CreateView(0,0,RUNTIME_CLASS(CViewLeft),CSize (100,300),pContext);
m_splitterWnd.CreateView(0,1,RUNTIME_CLASS(CEditViewRight),CSize(100,100),pContext);
return TRUE;
}

the CViewLeft derived from CView, the CEditViewRight derived from CEditView, both them have OnDraw() function, but after debugging, only go into CViewLeft OnDraw(), not go into CEditViewRight OnDraw() , what's the matter?Frown | :(

question two:

I want to creat 2 rows 2 col views as following:

CMainFrame::OnCreateClient(LPCREATESTRUCT lpcs, CCreateContext* pContext)
{
m_splitterWnd.CreateStatic(this,2,2);
m_splitterWnd.CreateView(0,0,RUNTIME_CLASS(CFormViewUpLeft),CSize (100,300),pContext);
m_splitterWnd.CreateView(0,1,RUNTIME_CLASS(CFormViewUpRight),CSize(100,100),pContext);
m_splitterWnd.CreateView(1,0,RUNTIME_CLASS(CFormViewLowLeft),CSize (100,300),pContext);
m_splitterWnd.CreateView(1,1,RUNTIME_CLASS(CFormViewLowRight),CSize(100,100),pContext);
return TRUE;
}

but it is no function, any suggestion? thanks
AnswerRe: question on static creating multi-views Pin
Iain Clarke, Warrior Programmer18-Sep-07 4:22
Iain Clarke, Warrior Programmer18-Sep-07 4:22 
GeneralRe: question on static creating multi-views Pin
King Tran19-Sep-07 3:43
King Tran19-Sep-07 3:43 
QuestionAdding Libraries Pin
pds847518-Sep-07 3:51
pds847518-Sep-07 3:51 
AnswerRe: Adding Libraries Pin
baerten18-Sep-07 4:16
baerten18-Sep-07 4:16 
QuestionJava vs. C++ Pin
LCI18-Sep-07 3:23
LCI18-Sep-07 3:23 
AnswerRe: Java vs. C++ Pin
David Crow18-Sep-07 4:05
David Crow18-Sep-07 4:05 
GeneralRe: Java vs. C++ Pin
LCI18-Sep-07 4:09
LCI18-Sep-07 4:09 
GeneralRe: Java vs. C++ Pin
David Crow18-Sep-07 4:23
David Crow18-Sep-07 4:23 
GeneralRe: Java vs. C++ Pin
bob1697218-Sep-07 6:50
bob1697218-Sep-07 6:50 
AnswerRe: Java vs. C++ Pin
Russell'18-Sep-07 4:14
Russell'18-Sep-07 4:14 
GeneralRe: Java vs. C++ Pin
Mike Dimmick18-Sep-07 4:20
Mike Dimmick18-Sep-07 4:20 
GeneralRe: Java vs. C++ Pin
Russell'18-Sep-07 4:31
Russell'18-Sep-07 4:31 
GeneralRe: Java vs. C++ Pin
LCI18-Sep-07 8:47
LCI18-Sep-07 8:47 
GeneralRe: Java vs. C++ Pin
Mike Dimmick18-Sep-07 9:55
Mike Dimmick18-Sep-07 9:55 
GeneralRe: Java vs. C++ Pin
jhwurmbach18-Sep-07 4:53
jhwurmbach18-Sep-07 4:53 
GeneralRe: Java vs. C++ Pin
Russell'18-Sep-07 5:11
Russell'18-Sep-07 5:11 
GeneralRe: Java vs. C++ Pin
jhwurmbach18-Sep-07 5:25
jhwurmbach18-Sep-07 5:25 

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.