![]() |
SizeDialogItem |
||||
Header: | Dialogs.h | Carbon status: | Supported | |
Sizes a dialog item.
OSErr SizeDialogItem ( DialogRef inDialog, SInt16 inItemNo, SInt16 inWidth, SInt16 inHeight );
A pointer to the dialog box containing the item to be resized.
The position of the item in the dialog boxs item list resource; use FindDialogItem to determine this value.
The new width (in pixels) of the dialog items control rectangle.
The new height (in pixels) of the dialog items control rectangle.
A result code.
The SizeDialogItem function resizes a dialog item to a specified size. If the dialog item is a control, the control rectangle and the dialog item rectangle (maintained by the Dialog Manager) are always the same.
This function is available with Appearance Manager 1.0 and later.
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)