RE: Is this a bug I see before my eyes?
"Nenad Stefanovic" <[email protected]>
| Newsgroups | gmane.comp.windows.wtl |
|---|---|
| Message-ID | <001e01cb1a53$d6a8b720$83fa2560$@com> |
Hi Rob, The decision seemed the right one, at the time. Since there were never many complaints about that, I never thought that I should change something there. Sometimes somebody has to be the government, for better or for worse. The difference is that I count on developers to complain or provide better solutions, or simply discuss things. Just like you did. Cheers, Nenad From: [email protected] [mailto:[email protected]] On Behalf Of Rob Marsden Sent: Friday, July 02, 2010 1:23 PM To: [email protected] Subject: Re: [wtl] Is this a bug I see before my eyes? Hi Nenad, > Well, I still remember why I wrote it that way :-) I'm please about that. I seldom can these days. > Form the experience with MFC - people would too much stuff in OnIdle and > spin it too often, which would result in sluggish apps. Default > implementation in WTL doesn't allow idle processing to continue to prevent > that. If you want to be able to continue idle processing, you can create > your own Module class, and override OnIdle with implementation which takes > return value into account. > I can see the reasoning behind that, but was it justified in the light of the WTL interface being so close to MFC? I wouldn't want to make a big issue out of this, as the WTL is such a well respected component of the Windows/C++ environment. As more of an aside---it just seems odd that the decision of how to use the OnIdle facility should be moved away from the application developer, to the tool (yes I know the developer can subvert that decision). It's almost as if you didn't trust the developers as a body. We used to have a government that didn't like the way a tiny minority might risk harming themselves, doing some particular activity, so they tried to make it difficult for the whole electorate to do that activity, or even banned it. They got kicked out at the last election. :-) Thanks to your efforts, WTL is too valuable a tool to let that happen. 'Nuff said! -- Rob Marsden Gistix (Northern) Limited [Non-text portions of this message have been removed] ------------------------------------ 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/