Skip to main content


developerWorks  >  Rational  >

Microsoft Windows Console application for hitting the start/stop button of e-mail reader

developerWorks

Rational staff IBM

27 Apr 2004

Get the download

A sample hook for IBM® Rational® ClearQuest®.

System requirements

None.

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.

Description

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.

Script Language: C/C++

ClearQuest Version: 2002

Submitter: Harald Lernbeiss at harald.lernbeiss@joanneum.at



Download

DescriptionNameSizeDownload method
Sample code2715_ClickStart.cpp4KBHTTP
Information about download methods


About the contributor

This article is brought to you by the Rational staff at developerWorks.





Back to top



Document options

Document options requiring JavaScript are not displayed

Sample code


My developerWorks needs you!

Connect to your technical community