Help Center

CTextStory.CONSTRUCTORSconstructor

Called when a class variable is created.

Windowsconstructordoc-orphan
No implementation located. This member is documented, but the source scan found no matching declaration. It is likely declared in a header this scan does not resolve, or provided by a macro.

Syntax

DECLARE CONSTRUCTOR
DECLARE CONSTRUCTOR (BYVAL pTextStory AS ITextStory PTR, BYVAL fAddRef AS BOOLEAN = FALSE)
CONSTRUCTOR CTextStory (BYVAL pTextStory AS ITextStory PTR, BYVAL fAddRef AS BOOLEAN = FALSE)

Parameters

NameDescription
pTextStoryAn ITextStory interface pointer.
fAddRefOptional. TRUE to increment the reference count of the passed ITextStory interface pointer; otherwise, FALSE. Default is FALSE.

Return value

A pointer to the new instance of the class.

Description

Called when a CTextStory class variable is created.

Example

DIM pCTextStory AS CTextStory pCTextStory.Attach(pTextStory)

Reference

  • Documented in Windows/WIndows Controls/RichEdit/CTextStory Class.md
  • Topic: CTextStory Class