Click here for NewsObjects Overview
InsertSource Method (Profile Editor Control)
Windows - Visual C++


Description
The InsertSource method replaces the current editing window selection with the specified news source abbreviation.

Syntax
long result = InsertSource(LPCTSTR sourceCode);

The InsertSource syntax has these parts:

Part

Description

sourceCode

A string containing a news source abbreviation.

result

A long integer containing 0, if the operation succeeded, or an error code, otherwise.

Remarks
The source code will be enclosed in braces when displayed.

See Also: InsertExpression InsertSubject InsertTicker

Back to: Profile Editor Methods