I am working with MFC project. I have a situation where I want to do an extensive calculation as soon as the dialog box shows up.
I tried putting this calculations in OnInitDialog() and also tried putting it in the contructor. For obvious reasons, with this approach, it takes time for the dialog box to appear which is not intended.
Is there a way where I can do my calculations immediately after the dialog box shows up? If so which is the function that I need to fit my code into?
1 Answer