after reading my second reply, you may think that I am also confused with this question, but this time I am sure that I'll give a absolutely right answer as following
firstly, notice this piece of codes in reply 1:
if (m_msgCur.message != WM_KICKIDLE && !PreTranslateMessage(&m_msgCur))
{...
I'm awfully sorry about my nonsense in reply 1,
because I've just find out what IsIdleMessage really mean.
I'll try to think about it thoughtfully and give a accurate
answer if possible.
WM_KICKIDLE is used by MFC framework to do some idle work. It never be dispatched to window procedure and can only be processed in virtual function WinApp::OnIdle(long). You should override this virtual function to fulfill your own aim. You can find out this fact in the codes for message loop in...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.