Click here for NewsObjects Overview
ShowPublisher Method (Publisher Control)
Windows - Visual C++


Description
The ShowPublisher method displays the Publisher dialog box and, if the user clicks the OK button, sends the story information to the NewsEdge Server.

Syntax
long ShowPublisher();

The ShowPublisher method syntax has these parts:

 Part

Description

value

Receives 0 if the story is sent successfully, -1 if user clicks the Cancel button, or an error code if the send fails due to a network problem.

Remarks
Before you call SendStory, you need to set at least the HeadlineText and NewsServerIP properties. To send a story without displaying a dialog box use the SendStory method.

See Also: HeadlineText StoryText NewsServerIP Priority Subject Temporary Ticker SendStory

Back to: Publisher Methods