| 75 | } |
| 76 | |
| 77 | void CLightingStatus::OnTimer(UINT nIDEvent) { |
| 78 | char str[100]; |
| 79 | |
| 80 | sprintf(str, "Percentage complete: %.2f %%", (1.0 - rad_Convergence) * 100.0); |
| 81 | CEdit *ebox; |
| 82 | ebox = (CEdit *)GetDlgItem(IDC_LIGHTING_COMPLETE); |
| 83 | ebox->SetWindowText(str); |
| 84 | |
| 85 | CDialog::OnTimer(nIDEvent); |
| 86 | } |
| 87 | |
| 88 | BOOL CLightingStatus::DestroyWindow() { |
| 89 | // TODO: Add your specialized code here and/or call the base class |