FindGadgetFromPoint

Core

FindGadgetFromPoint determines which Gadget a contains the specified point.

HGADGET FindGadgetFromPoint(
    HGADGET hgadRoot,           // Root Gadget to search from
    POINT ptContainerPxl,       // Point to search from in container pixels
    UINT nFlags,                // Search flags
    POINT * pptClientPxl        // Optional translated point in client pixels.
);

Parameters

hgadRoot
[in] Root Gadget to search from
ptContainerPxl
[in] Point to search from in container pixels
nFlags
[in] nFlags can be a combination of the following flags:

Value Meaning
GF_ONLYVISIBLE Only search visible Gadgets.
pptClientPxl
[out] Optional translated point in client pixels.

Return Values

Gadget containing point or NULL for none.

 


Internal Only

Build on Friday, March 17, 2000
Copyright © 2000 by Microsoft Corporation.  All rights reserved
Send feedback to Jeff Stall