[ Bottom of Page | Previous Page | Next Page | Contents | Index | Library Home | Legal | Search ]

Technical Reference: Base Operating System and Extensions, Volume 1

IMIndicatorDraw Callback Subroutine

Purpose

Tells the application program to draw the indicator.

Syntax


int IMIndicatorDraw( IM IndicatorInformation UData)
IMObject IM;
IMIndicatorInfo *IndicatorInformation;
caddr_t UData;

Description

The IMIndicatorDraw callback subroutine is called by the input method when the value of the indicator is changed. The application program then draws the indicator.

This subroutine is provided by applications that use input methods.

Parameters

IM Indicates the input method instance.
IndicatorInformation Points to the IMIndicatorInfo structure that holds the current value of the indicator. The interpretation of this value varies among phonic languages. However, the input method provides a function to interpret this value.
UData An argument passed by the IMCreate subroutine.

Return Values

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

Related Information

The IMCreate (IMCreate Subroutine) subroutine, IMIndicatorHide (IMIndicatorHide Callback Subroutine) subroutine.

Input Methods, National Language Support Overview and Using Callbacks in AIX 5L Version 5.2 National Language Support Guide and Reference.

[ Top of Page | Previous Page | Next Page | Contents | Index | Library Home | Legal | Search ]