Run Method (Headline Control)
Windows - Visual C++
Description
The Run method tells the Headline
Control to send a notification to the NewsEdge Server indicating
whether it should start or stop sending headlines.
Syntax
long result = Run(BOOL bStart);
The Run syntax has these parts:
Part |
Description |
|
bStart |
A boolean indicating whether to start, if TRUE, or stop, if FALSE, sending headlines. |
|
result |
A long integer with the value 0 if the call completed successfully or an error code if the call failed. |
|
Remarks
By default, this method returns after receiving a notification from the server indicating whether a Headline view could be opened for the current search criteria. However, if the AsyncRun property is TRUE, the method will return after sending the request and the RunComplete event will be fired when a notification is received from the server.
The headlines that will be sent are determined by the search criteria specified by the SearchCriteria property. The search criteria must be in RPN notation. Refer to Search Syntax for a detailed description of valid search criteria.
See Also: Running SearchCriteria Search Syntax
Back to: Headline Methods