Utility Control Methods
Windows - Visual C++


Click on the Utility method to see its syntax:

AboutBox

Displays the control's About Box.

AndSearchCriterion

Creates a search string in which two search criterion have been "ANDed" together, creating a search for stories that contain both of the user-specified search attributes.

ConvertCriteria

Converts search strings from InFix notation to RPN notation and vice versa.

CreateSearchCriterion

Creates a search string from the user-supplied attributes. This search string is used to set the Headline control SearchCriteria property.

FileName

Returns the file name after the ShowFileDialog method has been called.

FindCompany

Retrieves the company name from the ticker code. 

FindSubject

Retrieves the subject name from the subject code.  

FindSubjectCode

Retrieves the subject code from the subject name.  

FindSubjectRecord

Retrieves the contents of the subject record.  

FindTicker

Retrieves the ticker code for a company name. 

FindTickerRecord

Retrieves the contents of the ticker record.  

GetSelectedFeed

Retrieves the feed selected in the ShowFeeds dialog at the specified index.  

GetTotalSubjectCount

Retrieves the total record count for the subject file.  

GetTotalTickerCount

Retrieves the total record count for the ticker file.  

NotSearchCriterion

Creates a search string in which two search criterion have been "NOTed" together, creating a search for stories that contain one, but not the other of two user-specified search attributes.

OrSearchCriterion

Creates a search string in which two search criterion have been "ORed" together.

ReadKey

Reads a value from the initialization (.ini) file or the Windows registry, depending on the value of the IniType property.

ShowAboutBox

Displays a dialog box showing NewsObjects version and system information. 

ShowFeeds

Displays a dialog box containing news feeds for selection.

ShowFeeds2

Displays a dialog box containing news feeds for selection. The dialog box contains Full View and Current View option buttons that enable the user to choose the view in which to apply the search.

ShowHtmlHelp

Displays an HTML help file.

ShowSearchDate

Displays a dialog box requesting the starting and ending date for a search.

ShowSearchDate2

Displays a dialog box requesting the starting and ending date for a search. The dialog box contains Full View and Current View option buttons that enable the user to choose the view in which to apply the search.

ShowSearchMulti

Displays a dialog box requesting multiple words and phrases.

ShowSearchMulti2

Displays a dialog box requesting multiple words and phrases. The dialog box contains Full View and Current View option buttons that enable the user to choose the view in which to apply the search.

ShowSearchSubjects

Displays a dialog box requesting a list of subject codes.

ShowSearchSubjects2

Displays a dialog box requesting a list of subject codes. The dialog box contains Full View and Current View option buttons that enable the user to choose the view in which to apply the search.

ShowSearchTickers

Displays a dialog box requesting a list of ticker symbols.

ShowSearchTickers2

Displays a dialog box requesting a list of ticker symbols. The dialog box contains Full View and Current View option buttons that enable the user to choose the view in which to apply the search.

ShowSearchWord

Displays a dialog box requesting a search word.

ShowSearchWord2

Displays a dialog box requesting a search word or phrase. The dialog box contains Full View and Current View option buttons that enable the user to choose the view in which to apply the search.

ShowSubjects

Displays a dialog box containing subject names and codes for selection.

ShowSubjects2

Displays a dialog box containing subject names and codes for selection. The dialog box contains Full View and Current View option buttons that enable the user to choose the view in which to apply the search.

ShowTickers

Displays a dialog box containing company names and their ticker codes for selection.

ShowTickers2

Displays a dialog box containing company names and their ticker codes for selection. The dialog box contains Full View and Current View option buttons that enable the user to choose the view in which to apply the search.

TranslateCtlErrorCode

Takes CtlErrorCode as returned from another method or thrown or fired as an error and returns an English string which can be used as an error message.

WriteKey

Writes a value to the initialization (.ini) file or the Windows registry, depending on the value of the IniType property.

 Back to: Utility