Click here for NewsObjects Overview
ShowTickers Method (Utility Control)
Windows - Visual C++


Description
The ShowTickers method displays a dialog box containing company names and their ticker codes for selection.

Syntax
long ShowTickers();

The ShowTickers syntax has these parts:

 Part

Description

result

Return value. A long integer containing 0 if the user clicked the OK button and 1 if the user clicked the Cancel button.

Remarks
After ShowTickers is called, the chosen company name is stored in the CompanyName property, the chosen ticker code is stored in the TickerName property and the resulting search string is stored in the TickerSearchString property. The search string is used to set the Headline control's SearchCriteria property. Note that these properties are only valid if the return value from ShowTickers is 0.

See Also: CompanyName TickerName TickerSearchString SearchCriteria

Back to: Utility Methods