[ Next Article | Previous Article | Book Contents | Library Home | Legal | Search ]
Base Operating System and Extensions Technical Reference, Volume 1

IMIndicatorDraw Callback Subroutine

Purpose

Tells the application program to draw the indicator.

Syntax

int IMIndicatorDraw(IMIndicatorInformationUData)
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.

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.

Implementation Specifics

This subroutine is provided by applications that use input methods.

Related Information

The IMCreate subroutine, IMIndicatorHide 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.


[ Next Article | Previous Article | Book Contents | Library Home | Legal | Search ]