ViewType Property (Utility Control)
Windows - Visual C++
Description
The ViewType property returns or
sets which of the "Apply To" view option buttons found in
some of the search dialogs is the default value.
Syntax
long value = GetViewType();
void SetViewType(long value);
The ViewType syntax has these parts:
Part |
Description |
|
Value |
A long integer containing a value that indicates whether Full or Current View is selected by default. A value of 1 indicates that Full View should be used is the default value. A value of 2 indicates that Current View should be used. |
Remarks
The default setting for the
ViewType property is 0, indicating that the Full View is selected.
The Full View option enables the user to perform the search on all stories in the NewsEdge Server database. No other search criteria is incorporated into the search. For example, if the user brings up the ShowSearchMulti2 dialog to perform a search and chooses Full View, the user will see all stories that match the search criteria.
The Current View option enables the user to perform the search on the current set of stories in the Headline View. For example, if the user performs a Source View on the news feed "AP" and then brings up the ShowSearchMulti2 dialog box to perform a search and chooses Current View, the user will see stories from the news feed "AP" that match the search criteria.
See Also: DisableViewType ShowFeeds2 ShowSearchDate2 ShowSearchMulti2 ShowSearchWord2 ShowSubjects2 ShowTickers2 ShowSearchTickers ShowSearchSubjects
Back to: Utility Properties