Documentation Archive Developer
Search

ADC Home > Reference Library > Technical Notes > Legacy Documents > Mac OS 9 & Earlier >

Legacy Documentclose button

Important: This document is part of the Legacy section of the ADC Reference Library. This information should not be used for new development.

Current information on this Reference Library topic can be found here:

FindDItem

CONTENTS

[Mar 01 1988]






Introduction

FindDItem is a potentially useful call which returns the number of a dialog item given a point in local coordinates and a dialog handle. It returns an item number of -1 if no item's rectangle overlaps the point. This is all well and good, except you don't get back quite what you would expect.

The item number returned is zero-based, so you have to add one to the result:

Back to top

References

The Dialog Manager

Back to top

Downloadables

Acrobat gif

Acrobat version of this Note (36K).

Download