Click here for NewsObjects Overview
Story Control Methods
Windows - Visual C++


Click on the Story method to see its syntax:

AboutBox

Displays the control's About Box.

AppendContextMenuItem

Appends a menu item to the control's context menu.

AppendContextMenuSeparator

Appends a separator item to the control's context menu.

AppendContextMenuSubmenu

Appends a submenu to the control's context menu.

CopyToClipboard

Copies the currently selected text to the clipboard.

DeselectAll

Deselects any currently selected text.

GetContextMenuItemChecked

Returns a value indicating whether or not a specified context menu item is checked.

GetContextMenuItemCount

Returns the number of menu items in the specified context menu.

GetContextMenuItemEnabled

Returns a value indicating whether or not a specified context menu item is enabled.

GetContextMenuItemText

Returns the text of the specified menu item.

GetProfileHitText

Returns the text of the nth profile hit within the story. 

GetSearchHitText

Returns the text of the nth search hit within the story.

GetStorySize

Returns in bytes the length of the entire story text.

GetStoryText

Returns a pointer to the story text buffer.

GetSubjectText

Returns a 1 based index subject code.

GetTickerText

Returns a 1 based index ticker code.

GetURLText

Returns the Universal Resource Locator (URL) text of the nth URL within the story.

InsertContextMenuItem

Inserts a menu item into the control's context menu at a specified position.

InsertContextMenuSeparator

Inserts a separator item into the control's context menu at a specified position.

InsertContextMenuSubmenu

Inserts a submenu into the control's context menu at a specified position.

LoadPersistentInfo

Loads the control's persistent information from the specified file.

PrintControl

Prints the Story control.

PrintSetup

Displays the Print Setup dialog box.

RemoveContextMenuItem

Removes an item from the context menu.

Run

Initiates the retrieval of a story.

SaveAs

Saves the story to disk in RTF (Rich Text Format).

SavePersistentInfo

Saves the control's persistent information to the specified file.

SelectAll

Selects all of the story text.

SetContextMenuItemChecked

Sets the checked status of the specified menu item in the context menu.

SetContextMenuItemEnabled

Sets the enabled status of the specified menu item in the context menu.

SetContextMenuItemText

Sets the text of the specified context menu item.

ShowPreferences

Displays the preferences dialog for the control.

Back to: Story Control