Archived

This topic is now archived and is closed to further replies.

ProcessMessages() in MFC

This topic is 5573 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi guys! How I do a ProcessMessages() function in MFC? Using win32API, I used to use: ------------------------------------------------- void ProcessMessages() {     MSG msg;     while (PeekMessage(&msg, NULL, 0, 0, PM_REMOVE) == TRUE) {        TranslateMessage(&msg);        DispatchMessage(&msg);     } } ------------------------------------------------- But the application crashes when using it with MFC. Is there any function I can use? Or I can make? THank you. Fernando. [edited by - FERNANDO-BRASIL on September 10, 2002 11:05:16 AM]

Share this post


Link to post
Share on other sites