Click here for NewsObjects Overview
CurrentStoryID Property (Headline Control)
Windows - Visual C++


Read Only

Description
The CurrentStoryID property returns the story ID of the currently selected headline.

Syntax
long storyID = GetCurrentStoryID();

 The CurrentStoryID syntax has these parts:

 Part

Description

storyID

A long integer containing the story ID of the selected headline.

Remarks
The story ID is a long integer identifier that can be used to set the story control's StoryID property. In order to make the story control display the story for the currently selected headline, the following properties must be set:

Story Control Properties

Value

StoryID

Headline Control CurrentStoryID

HeadlineViewID

Headline Control ViewID

Run (must be set last)

TRUE

If no headline is currently selected, or if the selected headline has not yet been retrieved, CurrentStoryID returns -1.

See Also: Story Control

Back to: Headline Properties