This item was originally published in August 2003 and refers to Rational ClearQuest v. 2002.
NOTE: This hook is presented only as an example of how to customize your use of IBM Rational ClearQuest. It has not been formally tested and is not supported by IBM.
This tiny program does nothing more than try to find the dialog box of a running instance of the Rational e-mail reader application and send it a message that simulates pressing the Start/Stop button. The program returns 0 (zero) if it has found the e-mail reader (and sent the message) and 1 otherwise. See the attached file for the source code (in the C(++) programming language).
Note: The program assumes the "Start/Stop" button has a fixed control ID of 14032. It will stop working if this is changed in future versions.