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

Item Description
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.