Re: Is this a bug I see before my eyes?
"Alain Rist" <[email protected]>
| Newsgroups | gmane.comp.windows.wtl |
|---|---|
| Message-ID | <93ECB800553844D485E3B9BD694793EE@AlainWin7> |
What's new from http://tech.groups.yahoo.com/group/wtl/message/13288 ? cheers, AR From: Rob Marsden Sent: Wednesday, June 30, 2010 9:55 PM To: [email protected] Subject: [wtl] Is this a bug I see before my eyes? 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/