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


Description
The ShowSearchDate method displays a dialog box enabling users to search for stories received within:

Date Range Search dialog box

Syntax
long result = ShowSearchDate();

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

See Also: SearchDate SearchCriteria

Back to: Utility Methods