From: Glenn L. <pe...@ne...> - 2004-03-17 16:38:41
|
On approximately 3/17/2004 6:52 AM, came the following characters from the keyboard of Jez White: >>Only one, about the _RButtonDown.... I notice that NEM doesn't seem to >>have any support for the right button at all... or else I can't see it, >>at least. So _RightClick isn't there either. > > Would it make sense for controls with many events, or unique events (such as > the treeview and Graphic controls) to have their own NEM msg loop? Well, it depends on how similar the processing of the events is. If a particular control is very unique, and has events that must have lots of special handling, then probably that would be a good thing, for clarity and modularization. But if it is just a matter of adding more events to a big switch statement, and the bulk of the processing is very similar to other events, then I don't see a particular need. So this is very much a matter of opinion. -- Glenn -- http://nevcal.com/ =========================== The best part about procrastination is that you are never bored, because you have all kinds of things that you should be doing. |