"John Torjo" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > Eugene, > one more thing when you implement the GUI library. > > I ALWAYS hated the message maps from MFC/WTL. > So now I came up with a quite cute method of automating registering of events for a given window. > > (this should work for registering messages, etc.) > > It's very flexible. In other words, when you add an event for wnd_widget, > it does not couple the header file wnd_widget.h to the resource file (think MFC > for a moment ;) ) So, in case you modify the ID of a resource, all > you have to do is recompile the source file (wnd_widget.cpp), not the whole files > depending on wnd_widget.h. <snip>
AFAIK, some gui toolkits use not event, but callback system. IMHO it is more evective. Definitely it should be discussed carefully. regatds, bohdan _______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost