Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

DXmCSTextGetTopPosition(3X)

NAME

DXmCSTextGetTopPosition − Retrieves (returns) the logical position of the first character in the displayed text. 

SYNOPSIS

DXmCSTextPosition DXmCSTextGetTopPosition(widget)
                   Widget  widget;

PARAMETERS

The identifier (widget ID) of the compound string text widget. 

DESCRIPTION

The DXmCSTextGetTopPosition routine returns the logical position of the first character in the displayed text.  If the direction is left-to-right, the first character is at the top-left of the display.  If the direction is right-to-left the first character is at the top-right of the display. 

RETURN VALUES

An integer that represents the logical position of the first character in the text buffer. 

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026