Inherited dtmMain