I am working on a SDI application, that on startup builds a table of about 1000 values.
Since those calculations can take a few seconds, I want a modal dialog box to pop up,
showing a progressbar as the calculations advange, and disappear when all is done.
I use a timer to proces each value in the table. My problem is, that I do not know
where to place my CWnd::SetTimer(...) call. (Fires at roughly 55 millisecond intervals).
When I call it from the CDialog::OnInitDialog() my dialog box does not appear always,
especially on slower machines. Here the dialog´s WM_PAINT message seems never to get
Could someone tell me how to solve this one. Any help would be greatly appreciated.