void CDlgSolitaireAnalyse::OnBnClickedOk() { char outfile[256]; myD->keyUmrechnen(); myD->entschluesseln(myD->plaintext); GetTmpName(outfile,"cry",".txt"); myD->writeplaintext(outfile); OpenNewDoc(outfile,myD->getKey(),this->oldTitle,IDS_SOLITAIRE,true,1); this->EndDialog(1); }
//---------------------------------------------------------------------------- // OnFileNewChar performs Menu-File-NewCharacters command //---------------------------------------------------------------------------- void CippsDemoApp::OnFileNewChar() { // if (!m_pNewChar->Dialog()) return; m_NewView = VIEW_CHAR; OpenNewDoc(m_NewView); }
//---------------------------------------------------------------------------- // OnFileNewSignal performs Menu-File-NewSignal command //---------------------------------------------------------------------------- void CippsDemoApp::OnFileNewSignal() { if (!m_pNewSignal->Dialog()) return; m_NewView = VIEW_DEMO; OpenNewDoc(); }
//---------------------------------------------------------------------------- // OnFileNewTaps performs Menu-File-NewDigits command //---------------------------------------------------------------------------- void CippsDemoApp::OnFileNewTaps() { if (!m_pNewTaps->Dialog()) return; m_NewView = VIEW_TEXT; OpenNewDoc(m_NewView); }
//---------------------------------------------------------------------------- // OnFileNew performs Toolbar-new command //---------------------------------------------------------------------------- void CippsDemoApp::OnFileNew() { // m_NewView = FALSE; OpenNewDoc(m_NewView); }