| 544 | } |
| 545 | |
| 546 | BOOL CMainFrame::OnCreateClient(LPCREATESTRUCT /*lpcs*/, |
| 547 | CCreateContext* pContext) |
| 548 | { |
| 549 | // create splitter window |
| 550 | m_nPaneSplit = AfxGetApp()->GetProfileInt(szSettings, |
| 551 | szPaneSplit, 230); |
| 552 | if (!m_wndSplitter.CreateStatic(this, 2, 1)) |
| 553 | return FALSE; |
| 554 | |
| 555 | if (!m_wndSplitter.CreateView(0, 0, RUNTIME_CLASS(CQpadView), CSize(100, m_nPaneSplit), pContext) || |
| 556 | !m_wndSplitter.CreateView(1, 0, RUNTIME_CLASS(CEvalView), CSize(100, 100), pContext)) |
| 557 | { |
| 558 | m_wndSplitter.DestroyWindow(); |
| 559 | return FALSE; |
| 560 | } |
| 561 | |
| 562 | return TRUE; |
| 563 | } |
| 564 | |
| 565 | LRESULT CMainFrame::OnInput(WPARAM, LPARAM) |
| 566 | { |
nothing calls this directly
no outgoing calls
no test coverage detected