Link to home
Start Free TrialLog in
Avatar of bs161900
bs161900

asked on

Where to place progress dialog call

Hi,


I am working on a SDI application that uses a static splitter window devided into 2 panes.
(The first pane implements a tree view and the second a list view.)
I want to calculate a table (Array of doubles) stored in the document when the application
starts up.
Since those calculations can take a few seconds I want to visualize it, using a progress bar
in a modal dialog that poppes up and disappears when the table is processed.
I want to know where I can best place the call to show the dialog that starts the calculation
proces.
Any help would be greatly appreciated.

                              Ronny
ASKER CERTIFIED SOLUTION
Avatar of chensu
chensu
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of bs161900
bs161900

ASKER

I need the table to process the items in the list view (second pane), so the best place to call the dialog would be in CMyListView::OnCreate.
Could you confirm that ?
Yes.
Thank you very much for your answer.
Maybe we meet again in the future.