SETWINDOWRTFTEXT statement

Purpose:

SETWINDOWRTFTEXT will set RTF text in the specified window.

Syntax:

SETWINDOWRTFTEXT(HndlWnd AS HWND, Text AS STRING)

Parameters:

  • Data type: HWND
    HndlWnd The handle to window, previously created with the BCX_RICHEDIT function, in which RichTextFormat text is to be set.
  • Data type: STRING
    Text RichTextFormat string to be set.

For an example of the SETWINDOWRTFTEXT statement see Demo.bas.