ThiscodedemonstrateshowtowriteasubclassingcontrolinVisualBasic(version5orlater).ThecodetakesadvantageofthenewAddressOfkeyword,whichcanonlybeusedfromaBASmodule.AcommonBASmodulekeepstrackofallthecurrentcontrolinstanceswithinthecurrentprocessandtheninterceptsWindowsmessages,callingspe