Text Formatting Functions


The functions listed below are useful for formatting or listing text. Several of these functions are available as CTextView class methods.

Text Formatting Functions

CreateTextWindow

Creates a CTextView window for text output and returns a handle to an instance of the CTextView class.

MsgBox

Writes a text message in a simple pop-up dialog window.

Msg

Writes a text message in a small pop-up dialog window with a specific title.

Msg2

Writes a text message in a large pop-up dialog window with a specific title.

Printf

Formats text and values into a string that is written to a default CTextView window named "Script Messages."

Sprintf

Formats text and values into a string.

Wprintf

Formats text and values into a string that is written to a specific instance of a CTextView window previously created by the script.

DatatpeToStr

Converts a pixel type value to its string equivalent.

StrToPixelType

Converts a pixel type string to its equivalent value.

Related Topics

Contents, CTextView class, Dialog Functions


Mira Pro x64 Script User's Guide, Copyright Ⓒ 2023 Mirametrics, Inc. All Rights Reserved.