MCPcopy Create free account
hub / github.com/acl-dev/acl / OnBnClickedTransIdx

Method OnBnClickedTransIdx

app/jencode/JencodeDlg.cpp:436–454  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

434}
435
436void CJencodeDlg::OnBnClickedTransIdx()
437{
438 // TODO: 在此添加控件通知处理程序代码
439 static CIdxTrans idxTrans;
440
441 UpdateData(TRUE);
442 GetDlgItem(IDC_IDX_PATH)->GetWindowText(m_fsPath);
443 if (m_fsPath.GetLength() == 0) {
444 MessageBox("请选择索引文件...");
445 return;
446 }
447
448 GetDlgItem(IDC_TRANS_IDX)->EnableWindow(FALSE);
449 idxTrans.Init(this->GetSafeHwnd(), m_fsPath);
450 idxTrans.OnTransEnd(WM_USER_TRANS_OVER2);
451 idxTrans.Run();
452 m_wndStatus.SetText("运行", 0, 0);
453 m_nBegin = time(NULL);
454}

Callers

nothing calls this directly

Calls 4

InitMethod · 0.45
OnTransEndMethod · 0.45
RunMethod · 0.45
SetTextMethod · 0.45

Tested by

no test coverage detected