BOOL CFirstInfo::OnSetActive( ) { WHTT_LOCATION("FirstInfo"); this_CWizTab->SetWizardButtons(PSWIZB_NEXT); SetDlgItemTextCP(this_CWizTab,IDCANCEL,LANG_QUIT); this_DirTreeView->ResetTree(); this_CSplitterFrame->EnableSaveEntries(TRUE); //GetParent()->GetDlgItem(IDCANCEL)->ModifyStyle(0,WS_DISABLED); return 1; }
BOOL CNewProj::OnSetActive( ) { //this_CWizTab->SetWizardButtons(PSWIZB_BACK); WHTT_LOCATION("NewProj"); //if (!can_click_next) { // structure visible CString st; GetDlgItemText(IDC_projpath,st); TStamp t_start = mtime_local(); // FIXME: VERY SLOW!! this_DirTreeView->EnsureVisible(st+"\\index.html"); TStamp t_end = mtime_local(); //TStamp l_dir = t_end - t_start; //CString a; //a.Format("t=%dms", (int)l_dir); //(void) AfxMessageBox(a, MB_OK); SetDlgItemTextCP(this_CWizTab, IDCANCEL,LANG_CANCEL); //} else //this_CWizTab->PressButton(PSBTN_NEXT); return 1; }
BOOL Cinprogress::OnSetActive() { WHTT_LOCATION("inprogress"); return CPropertyPage::OnSetActive(); }
BOOL Ctrans::OnSetActive( ) { this_CWizTab->SetWizardButtons(PSWIZB_BACK|PSWIZB_FINISH); WHTT_LOCATION("trans"); return 1; }