ShowDItem
ShowDItem
Move an off-screen back on screen [128K ROMs] DialogPtr theDialog ; the dialog containing item to unhide short theItem ; number of item to unhide
ShowDItem moves an off-screen item back into the visible area (and if it's an editText item, activates its TextEdit record).
theDialog is the address of a 170-byte DialogRecord structure. It identifies the dialog containing the item you wish to unhide. It is actually a
theItem identifies which item you wish to unhide.
the item's horizontal coordinates (unless they are less than 8192), adds
the display rectangle to theDialog 's update region and (if the item becomes
the only editText item) reactivates the item's TextEdit record.
alerts by allowing you to use the same 'DITL' for two or more purposes.
Just hide all the items that don't apply to the current use.