Carbon


DrawControlInCurrentPort

Header: Controls.h Carbon status: Supported

Draws a control in the current graphics port.

void DrawControlInCurrentPort (
    ControlRef inControl
);
Parameter descriptions
inControl

A handle to the control to draw.

DISCUSSION

Typically, controls are automatically drawn in their owner’s graphics port with the functions DrawControls, Draw1Control, and UpdateControls. DrawControlInCurrentPort permits easy offscreen control drawing and printing. All standard system controls support this function.

VERSION NOTES

This function is available with Appearance Manager 1.0 and later.

AVAILABILITY

Supported in Carbon. Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.


© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)