Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!zaphod.mps.ohio-state.edu!van-bc!ubc-cs!uw-beaver!milton!sumax!polari!rwing!seaeast!burklabs!ronb From: ronb@burklabs (Ron Burk ) Newsgroups: comp.windows.ms.programmer Subject: C++ vs. Windows Message-ID: Date: 19 May 91 21:15:25 GMT Organization: Burk Labs, Redmond WA Lines: 14 Turbo Pascal for Windows (TPW), in addition to C++-style virtual methods, supplies "dynamic" methods. These seem to be an attempt to deal with cases where you inherit a large number of virtual functions but generally only override a few. Rather than giving you yet another copy of that large virtual function table, dynamic methods do a search through a list at runtime to find the right method. If you only overrode a few functions, the list should be much smaller than the virtual function table. I am lying about some of this, but I believe the gist is correct. My question is for folks who use any of the various C++ class libraries for windows. How do they deal with the large number of window messages? Do they bite the bullet and define each message as a virtual function? To they decide on a subset of messages that they deem important enough to be virtual functions?