code in the datasource's active() method, just after the super.
winapi::setWindowText(element.hWnd(), "My caption override text");
my rantings about AX3 and AX5. Please note: any code snippets or samples found in this blog are on an "as-is" basis. i do not claim to be an AX expert. just another goyim trying to make his way home. i have no professional affiliations with Microsoft. my views do not represent that of any company i may be working for currently. i will not be held liable for any damages resulting from code used from this blog. other than that, have a nice day!
winapi::setWindowText(element.hWnd(), "My caption override text");