Is this a bug I see before my eyes?
Rob Marsden <rob-uNoPq/[email protected]>
| Newsgroups | gmane.comp.windows.wtl |
|---|---|
| Message-ID | <[email protected]> |
Well, I can't believe it, if is, because in it's in such a core piece of
code. I an using an OnIdle() callback to do background processing. This
is called from OnIdle(int nIdleCount) around line 1036 in atlapp.h v8.1
Which says:
// override to change idle processing
virtual BOOL OnIdle(int /*nIdleCount*/)
{
for(int i = 0; i < m_aIdleHandler.GetSize(); i++)
{
CIdleHandler* pIdleHandler = m_aIdleHandler[i];
if(pIdleHandler != NULL)
pIdleHandler->OnIdle();
}
return FALSE; // don't continue
}
Can any one tell me why the return value is discarded, preventing any
OnIdle function requesting 'MoreToDo'?
Or am I missing something fundamental?
--
Rob Marsden
Gistix (Northern) Limited
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/wtl/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/wtl/join
(Yahoo! ID required)
<*> To change settings via email:
[email protected]
[email protected]
<*> To unsubscribe from this group, send an email to:
[email protected]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/