Re: Is this a bug I see before my eyes?
mgrandau <[email protected]>
| Newsgroups | gmane.comp.windows.wtl |
|---|---|
| Message-ID | <[email protected]> |
No one is banning you from how the OnIdle works. Override it. The software has made a positive moved foreword. MFC is no more infallible than anything a human has created. If you don't like it, spin off your own open source version, welcome to the world of open source. On Fri, Jul 2, 2010 at 6:23 AM, Rob Marsden <rob-uNoPq/[email protected]> wrote: > > > 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/