Have you ever tried to supply a variable as a message number in TDs Message Actions block or capture a message of a window without a “Message action” section? It doesnt work without some kind of trick: Subclassing.
Read this TeaTalk article for information about SubClasser.
SubClasser for all TD versions SubClasser.zip
This file also contains a sample application and the C sourcecode.
To run the samples you need win32api.apl which can be found here.
There’s a TeaTalk article by Thomas Althammer which deals with subclassing of ActiveX controls. It can be found here (search for “SubClasser for ActiveX”).
Here you will find a sample of using Subclasser to scroll a report preview window.