JMGetAWTContextFrame
Gets a particular frame associated with an AWT context.
OSStatus JMGetAWTContextFrame (
JMAWTContextRef context,
UInt32 frameIndex,
JMFrameRef* frame);
context
- The AWT context that contains the frame.
frameIndex
- The index number of the frame.
frame
- A pointer to the frame. On return, this parameter holds the frame with index
frameIndex.
- function result
- A result code. See "JManager Result Codes" (page 69) for a list of result codes that JManager may return in this field.
DISCUSSION
The index numbers for frames range from 0 to frameCount-1 (as determined by the JMCountAWTContextFrames function), with the most recently added frame having the highest number. The index number of a particular frame is not necessarily constant; removing or adding frames can cause the index number to change.
SEE ALSO
The JMCountAWTContextFrames function (page 31).