[ Previous | Next | Contents | Glossary | Home | Search ]
AIX Version 4.3 Base Operating System and Extensions Technical Reference, Volume 1

IMTextDraw Callback Subroutine

Purpose

Tells the application program to draw the text string.

Syntax

int IMTextDraw(IMTextInfoUData)
IMObject IM;
IMTextInfo *TextInfo;
caddr_t UData;

Description

The IMTextDraw subroutine is invoked by the Input Method whenever it needs to update the screen with its internal string. This subroutine tells the application program to draw the text string.

Parameters

IM Indicates the input method instance.
TextInfo Points to the IMTextInfo structure.
UData An argument passed by the IMCreate subroutine.

Return Values

If an error occurs, the IMTextDraw subroutine returns the IMError global variable. Otherwise, the IMNoError value is returned.

Implementation Specifics

This subroutine is provided by applications that use input methods.

Related Information

The IMCreate subroutine.

Input Method Overview and National Language Support Overview for Programming in AIX Version 4.3 General Programming Concepts: Writing and Debugging Programs.

Understanding Callbacks in AIX Version 4.3 General Programming Concepts: Writing and Debugging Programs.


[ Previous | Next | Contents | Glossary | Home | Search ]