DisableViewType Property (Utility Control)
Windows - Visual C++
Description
The DisableViewType property sets
or returns which of the "Apply To" view option buttons
found in some of the search dialogs are to be disabled.
Syntax
long value = GetDisableViewType();
void SetDisableViewType(long value);
The DisableViewType syntax has these parts:
Part |
Description |
|
Value |
A long integer containing a value that indicates which view is disabled. A value of 1 indicates that Full View choice should be disabled. A value of 2 indicates that Current View should be disabled. A value of 0 indicates that all of the view choices should be disabled. |
Remarks
The default setting for the
DisableViewType property is -1, indicating that none of the view
choices are disabled.
The Full View option button 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 button 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: ViewType ShowFeeds2 ShowSearchDate2 ShowSearchMulti2 ShowSearchWord2 ShowSubjects2 ShowTickers2 ShowSearchTickers ShowSearchSubjects
Back to: Utility Properties