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


Description
The ShowSearchWord method displays a dialog box requesting a search word or phrase.

Syntax
long result = ShowSearchWord();

The ShowSearchWord 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 ShowSearchWord is called, the resulting search string is stored in the SearchWord property. This string is used to set the Headline control's SearchCriteria property. Note that the SearchWord property is only valid if the return value from ShowSearchWord is 0.

See Also: SearchWord SearchCriteria

Back to: Utility Methods