MFC: Loop within OnXYZ methods
I want to do some operations after a button has been clicked.
The operation needs some calls to return a true so it can be returned from this method.
I saw a construct like the code sample above and to me it looks like
m_bDone = makeSomeOperationsHere();
while (PeekMessage(&msg, NULL, 0, 0, true))
a mixture of MFC and pure WIN32 API programming.
My question: Is this a clean way to code MFC ???