TheCrappyProgrammer
Programmer
I have several functions that take a while to execute in MFC. If I put it in ::OnInitDialog(), then the window won't paint until after my functions complete and ::OnInitDialog() returns. As a result, the program runs for about seven seconds and then paints the window. Where should I call my functions? (note: I have while loops in these functions. Do these interfere with windows painting?)